[aur-dev] [PATCH] tu.php: Fix PHP notice for "hasvoted" variable
Lukas Fleischer
archlinux at cryptocrack.de
Wed Jul 11 13:29:20 EDT 2012
On Mon, Jul 09, 2012 at 07:28:15PM -0400, canyonknight wrote:
> Signed-off-by: canyonknight <canyonknight at gmail.com>
> ---
> 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
More information about the aur-dev
mailing list