mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
8201dead3b
commit
81e0b7fe18
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue