[Koha-bugs] [Bug 7643] Can't upload and import zipped file of patron images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 25 13:21:11 CEST 2012


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

Ivan Brown <I.Brown at littleover.derby.sch.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |I.Brown at littleover.derby.sc
                   |                            |h.uk

--- Comment #5 from Ivan Brown <I.Brown at littleover.derby.sch.uk> ---
I think I have managed to fix this.

In the new code:

my $filesuffix;
if ( $uploadfilename =~ m/(\..+)$/i ) {
    my $filesuffix = $1;
}

$filesuffix is being declared as local (with my) twice.

If the second my is deleted, the upload works.

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


More information about the Koha-bugs mailing list