[Koha-bugs] [Bug 2663] Error saving on lists

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Mon Mar 9 06:17:36 CET 2009


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2663


amitddng135 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amitddng135 at gmail.com




------- Comment #3 from amitddng135 at gmail.com  2009-03-08 22:17 -------
Same error in line no 106: 
Can't use string ("1") as an ARRAY ref while "strict refs" in use at
/usr/share/koha/opac/cgi-bin/opac/opac-addbybiblionumber.pl line 106.
problem:- for my $shelf ( @{${@$shelflist}[0]} )
fix(Solve):- for my $shelf ( @{ $shelflist->[0] }

(In reply to comment #0)
> When a user want to "Save on His Lists", an error is returned :
> Can't use string ("1") as an ARRAY ref while "strict refs" in use at
> /usr/local/src/koha/opac/opac-addbybiblionumber.pl line 98.
> 
> The problem is the usage of this : @{${@$shelflist}[0]}
> That's seems not be supported by perl 5.10, but works on perl 5.8.8
> 




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list