Re: [aur-dev] [PATCH] tu.php: Fix PHP notice for "hasvoted" variable
On Mon, Jul 09, 2012 at 07:28:15PM -0400, canyonknight wrote: > Signed-off-by: canyonknight > --- > web/html/tu.php | 1 + > 1 file changed, 1 insertion(+) Applied, thanks! > > 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
[aur-dev] [PATCH] tu.php: Fix PHP notice for "hasvoted" variable
Signed-off-by: canyonknight --- 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