diff --git a/Changelog b/Changelog index b89f7f3..b0163bc 100644 --- a/Changelog +++ b/Changelog @@ -7,6 +7,8 @@ Changes for next release: based on work by MarkIrons * fixed bug UnusedVariableDeclaration fix contributed by JuanMtnezPineda +* fixed bug PwlistArray + fix contributed by JuanMtnezPineda Changes for bugfix release 1.0.6 (November 05, 2016): diff --git a/wiki.pl b/wiki.pl index fb0fa5f..a16c1b2 100755 --- a/wiki.pl +++ b/wiki.pl @@ -2807,7 +2807,7 @@ sub UserIsBanned { } sub UserIsAdmin { - my (@pwlist, $userPassword); + my ($userPassword); return 0 if ($AdminPass eq ""); $userPassword = &GetParam("adminpw", ""); @@ -2820,7 +2820,7 @@ sub UserIsAdmin { } sub UserIsEditor { - my (@pwlist, $userPassword); + my ($userPassword); return 1 if (&UserIsAdmin()); # Admin includes editor return 0 if ($EditPass eq "");