From: Colin Campbell Date: Mon, 13 Dec 2010 17:05:06 +0000 (+0000) Subject: Variable redeclared in same scope X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=51dc5b060beb4243b364da9b3df81c9454107175;p=koha.git Variable redeclared in same scope lexical variable declared twice causing run time warnings Signed-off-by: Chris Cormack --- diff --git a/C4/Items.pm b/C4/Items.pm index 5eda6dd16b..a7c190ca45 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1279,7 +1279,7 @@ sub GetItemsInfo { ); $restrictedstatus->execute; - my ($authorised_valuecode) = $restrictedstatus->fetchrow; + ($authorised_valuecode) = $restrictedstatus->fetchrow; if ($authorised_valuecode) { $restrictedstatus = $dbh->prepare( "SELECT lib,lib_opac FROM authorised_values