summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-07-10 01:28:15 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-11 19:26:30 +0200
commit81e0b7fe183107873ae9e8ee66746226a960ced6 (patch)
treee677c68964e2555cf7fa977da8c927a6f9c1ae86 /web/html
parent8201dead3bb3e4e4168474424f605626ca275c81 (diff)
downloadaur-81e0b7fe183107873ae9e8ee66746226a960ced6.tar.gz
aur-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>
Diffstat (limited to 'web/html')
-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 5537d3a3..48cd6c10 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;