[Koha-bugs] [Bug 9312] strict perl for picture-upload.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 22 14:50:10 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9312

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #26 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
I got this error on uploading one image file:
Can't use string ("1") as a HASH ref while "strict refs" in use at
/usr/share/koha/testclone/tools/picture-upload.pl line 138
It seems that $results can be just 1.
Line 138 refers to it as a hash:
    if ( %$results || %errors ) {

And perl does not like that :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list