# HG changeset patch # User Matti Hamalainen # Date 1485384514 -7200 # Node ID 4f132374df75bf59f4a232eb8c9708ab72021503 # Parent 4c76b4994414adcacd828ba087624d66df6c7d04 Fix a 10L. diff -r 4c76b4994414 -r 4f132374df75 pages/vote.inc.php --- a/pages/vote.inc.php Thu Jan 26 00:38:06 2017 +0200 +++ b/pages/vote.inc.php Thu Jan 26 00:48:34 2017 +0200 @@ -17,6 +17,7 @@ function stVoteLoginForm() { + $userKeyLen = stGetSetting("userKeyLength"); return "
\n". " ".stGetFormStart("vote", "usrlogin.php"). @@ -36,8 +37,6 @@ if (!stUserSessionAuth(FALSE)) { // Perform authentication if we are not in session already - $userKeyLen = stGetSetting("userKeyLength"); - if (($error = stGetRequestItem("error", 0, TRUE)) != 0) { echo