summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-07-09 19:28:15 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-11 19:26:30 +0200
commit81e0b7fe183107873ae9e8ee66746226a960ced6 (patch)
treee677c68964e2555cf7fa977da8c927a6f9c1ae86
parent8201dead3bb3e4e4168474424f605626ca275c81 (diff)
downloadaurweb-81e0b7fe183107873ae9e8ee66746226a960ced6.tar.xz
tu.php: Fix PHP notice for "hasvoted" variable
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/html/tu.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/tu.php b/web/html/tu.php
index 5537d3a..48cd6c1 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -34,6 +34,7 @@ if ($atype == "Trusted User" || $atype == "Developer") {
$whovoted = voter_list($row['ID']);
$canvote = 1;
+ $hasvoted = 0;
$errorvote = "";
if ($isrunning == 0) {
$canvote = 0;