Variable redeclared in same scope
lexical variable declared twice causing run time warnings
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 51dc5b060b)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
59814b0cec
commit
08c2668ee2
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue