[Koha-bugs] [Bug 9421] tools/picture-upload.pl not Plack-compatible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 18 03:47:49 CET 2013


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

--- Comment #1 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 14692
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14692&action=edit
Bug 9421: tools/picture-upload.pl not Plack-compatible

This patch avoids using file-level private variables in subroutines
by passing the needed variables as parameters to the subroutines.

To test (under Plack):
1) Try uploading a patron image without applying the patch. Notice
   it fails.
2) Apply patch.
3) Try uploading a patron image again, noticing this time it succeeds.

To test (under Apache):
1) Apply patch.
2) Try uploading a patron image, confirm that it works.

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


More information about the Koha-bugs mailing list