changeset 190:a14663f6497d

Cosmetic.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 09 Nov 2013 14:58:24 +0200
parents 795363f6c864
children 82803532a51c
files vote.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vote.inc.php	Sat Nov 09 14:28:10 2013 +0200
+++ b/vote.inc.php	Sat Nov 09 14:58:24 2013 +0200
@@ -6,7 +6,6 @@
 //
 $sessionType = "user";
 require_once "majax.php";
-$userKeyLen = stGetSetting("userKeyLength");
 
 
 function stGetVoteButton()
@@ -29,6 +28,7 @@
 if (!stUserSessionAuth(FALSE))
 {
   // Perform authentication if we are not in session already
+  $userKeyLen = stGetSetting("userKeyLength");
   echo
     "<h1>Voting system</h1>\n".
     (stGetSessionItem("mode") == "error" ? "<p>ERROR occured, try again</p>." : "").