[aur-dev] [PATCH] tu.php: Fix PHP notice for "hasvoted" variable
canyonknight
canyonknight at gmail.com
Mon Jul 9 19:28:15 EDT 2012
Signed-off-by: canyonknight <canyonknight at gmail.com>
---
web/html/tu.php | 1 +
1 file changed, 1 insertion(+)
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;
--
1.7.11.1
More information about the aur-dev
mailing list