changeset 358:0244aeeab6e7

Use GET for error parameter.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Dec 2013 10:31:37 +0200
parents 7e906c827e68
children f7a806d5060f
files vote.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vote.inc.php	Tue Dec 03 10:31:25 2013 +0200
+++ b/vote.inc.php	Tue Dec 03 10:31:37 2013 +0200
@@ -30,7 +30,7 @@
   // Perform authentication if we are not in session already
   $userKeyLen = stGetSetting("userKeyLength");
   
-  if (($error = stGetRequestItem("error", 0)) != 0)
+  if (($error = stGetRequestItem("error", 0, TRUE)) != 0)
   {
     echo
       "<h1>Voting system login failed</h1>\n".