ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Duh! Copy-paste error
Date Sat, 17 Dec 2016 21:35:45 GMT
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 <sebb@apache.org>
Authored: Sat Dec 17 21:35:33 2016 +0000
Committer: Sebb <sebb@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


Mime
View raw message