projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e2b54
)
Variable redeclared in same scope
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Mon, 13 Dec 2010 17:05:06 +0000
(17:05 +0000)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Tue, 14 Dec 2010 00:21:06 +0000
(13:21 +1300)
lexical variable declared twice causing run time warnings
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Items.pm
patch
|
blob
|
history
diff --git
a/C4/Items.pm
b/C4/Items.pm
index
5eda6dd
..
a7c190c
100644
(file)
--- 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