[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 14:04:38 CEST 2012


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

--- Comment #6 from Chris Nighswonger <cnighswonger at foundations.edu> ---
(In reply to comment #5)
> 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.

Good catch indeed! And here is the commit which broke it:

http://git.koha-community.org/gitweb/?p=koha.git;a=commit;h=b5b71339f3e3dfd639609ecc4b6912435d29704b

Maybe you would consider submitting a patch to fix this bug? In return, you'll
get your name added to the list of those who make Koha what it is.

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


More information about the Koha-bugs mailing list