tu.php: Fix PHP notice for "hasvoted" variable

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
canyonknight 2012-07-09 19:28:15 -04:00 committed by Lukas Fleischer
parent 8201dead3b
commit 81e0b7fe18

View file

@ -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;