You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/12/17 21:35:45 UTC
incubator-ponymail git commit: Duh! Copy-paste error
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 575200eff -> 4d52f2d38
Duh! Copy-paste error
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/4d52f2d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/4d52f2d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/4d52f2d3
Branch: refs/heads/master
Commit: 4d52f2d383bb99d42a5bf5eda7be01e63781413a
Parents: 575200e
Author: Sebb <se...@apache.org>
Authored: Sat Dec 17 21:35:33 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Sat Dec 17 21:35:33 2016 +0000
----------------------------------------------------------------------
site/api/preferences.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/4d52f2d3/site/api/preferences.lua
----------------------------------------------------------------------
diff --git a/site/api/preferences.lua b/site/api/preferences.lua
index 70ae8be..a8caf0c 100644
--- a/site/api/preferences.lua
+++ b/site/api/preferences.lua
@@ -217,7 +217,7 @@ Pony Mail - Email for Ponies and People.
-- don't allow failed options to drop-thru
for _, v in pairs({'associate', 'verify', 'removealt', 'save', 'addfav', 'remfav'}) do
- if get['header_' .. v] then
+ if get[v] then
if not account then
r:puts(JSON.encode{error="Not logged in"})
else