summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-03-30 15:17:12 -0400
committerTed Trask <ttrask01@yahoo.com>2015-03-30 15:17:12 -0400
commitc206625279fe70e8239c85ced28d860bd6a4b3a6 (patch)
tree8828782457db667d6d6a345f988cd32ac23a627f
parentcbb332b20cb47b785d7d97067a5a7a8d88f9e51c (diff)
downloadacf-freeswitch-vmail-c206625279fe70e8239c85ced28d860bd6a4b3a6.tar.bz2
acf-freeswitch-vmail-c206625279fe70e8239c85ced28d860bd6a4b3a6.tar.xz
Fix bug in listmessages view where username is wrong for forwarding messages
-rw-r--r--vmail-listmessages-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmail-listmessages-html.lsp b/vmail-listmessages-html.lsp
index 8179b33..00bbd52 100644
--- a/vmail-listmessages-html.lsp
+++ b/vmail-listmessages-html.lsp
@@ -15,7 +15,7 @@ if viewlibrary.check_permission("listusers") and (viewlibrary.check_permission("
table.sort(users.value, function(a,b) if a.firstname ~= b.firstname then return a.firstname < b.firstname elseif a.lastname ~= b.lastname then return a.lastname < b.lastname else return a.username < b.username end end)
for i,u in ipairs(users.value) do
if u.username ~= session.userinfo.userid then
- useroptions[#useroptions+1] = {value=u.firstname, label=u.firstname..' '..u.lastname..' ('..u.username..')'}
+ useroptions[#useroptions+1] = {value=u.username, label=u.firstname..' '..u.lastname..' ('..u.username..')'}
end
end
end