From 81e0b7fe183107873ae9e8ee66746226a960ced6 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Mon, 9 Jul 2012 19:28:15 -0400 Subject: tu.php: Fix PHP notice for "hasvoted" variable Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/tu.php | 1 + 1 file changed, 1 insertion(+) (limited to 'web') 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; -- cgit v1.2.3-70-g09d2