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 {
|
BEGIN {
|
||||||
use version; our $VERSION = qv('1.0.0_1');
|
use version; our $VERSION = qv('1.0.0_1');
|
||||||
use vars qw(@EXPORT, @ISA);
|
use vars qw(@EXPORT @ISA);
|
||||||
@ISA = qw(Exporter);
|
@ISA = qw(Exporter);
|
||||||
our @EXPORT = qw(get_all_templates
|
our @EXPORT = qw(get_all_templates
|
||||||
get_all_layouts
|
get_all_layouts
|
||||||
|
|
|
@ -2,7 +2,7 @@ package C4::Patroncards;
|
||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
use version; our $VERSION = qv('1.0.0_1');
|
use version; our $VERSION = qv('1.0.0_1');
|
||||||
use vars qw(@EXPORT, @ISA);
|
use vars qw(@EXPORT @ISA);
|
||||||
@ISA = qw(Exporter);
|
@ISA = qw(Exporter);
|
||||||
our @EXPORT = qw(unpack_UTF8
|
our @EXPORT = qw(unpack_UTF8
|
||||||
text_alignment
|
text_alignment
|
||||||
|
|
|
@ -504,7 +504,7 @@ sub isItemInAnyCollection {
|
||||||
|
|
||||||
my $row = $sth->fetchrow_hashref;
|
my $row = $sth->fetchrow_hashref;
|
||||||
|
|
||||||
my $itemnumber = $$row{'itemnumber'};
|
$itemnumber = $row->{itemnumber};
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
|
|
||||||
if ( $itemnumber ) {
|
if ( $itemnumber ) {
|
||||||
|
|
Loading…
Reference in a new issue