Fix some compile time errors reported in test suite
redeclaration of itemnumber in RotatingCollections A couple of errors caused by retaining commas in qw() Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
6aa9e9171c
commit
bc3dcdd733
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ package C4::Creators;
|
|||
|
||||
BEGIN {
|
||||
use version; our $VERSION = qv('1.0.0_1');
|
||||
use vars qw(@EXPORT, @ISA);
|
||||
use vars qw(@EXPORT @ISA);
|
||||
@ISA = qw(Exporter);
|
||||
our @EXPORT = qw(get_all_templates
|
||||
get_all_layouts
|
||||
|
|
|
@ -2,7 +2,7 @@ package C4::Patroncards;
|
|||
|
||||
BEGIN {
|
||||
use version; our $VERSION = qv('1.0.0_1');
|
||||
use vars qw(@EXPORT, @ISA);
|
||||
use vars qw(@EXPORT @ISA);
|
||||
@ISA = qw(Exporter);
|
||||
our @EXPORT = qw(unpack_UTF8
|
||||
text_alignment
|
||||
|
|
|
@ -504,7 +504,7 @@ sub isItemInAnyCollection {
|
|||
|
||||
my $row = $sth->fetchrow_hashref;
|
||||
|
||||
my $itemnumber = $$row{'itemnumber'};
|
||||
$itemnumber = $row->{itemnumber};
|
||||
$sth->finish;
|
||||
|
||||
if ( $itemnumber ) {
|
||||
|
|
Loading…
Reference in a new issue