http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7643 --- Comment #6 from Chris Nighswonger <cnighswonger@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=b5b71339f3e3dfd6... 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.