From 51dc5b060beb4243b364da9b3df81c9454107175 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Mon, 13 Dec 2010 17:05:06 +0000 Subject: [PATCH] Variable redeclared in same scope lexical variable declared twice causing run time warnings Signed-off-by: Chris Cormack --- C4/Items.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2