Koha/tools
Jonathan Druart 762415a2ff Bug 16886: Make the 'Upload patron images' tool plack safe
Some vars are accessed from subroutine, but defined with my.
It causes at least the 2 followings errors:
Variable "$filetype" is not available at
/home/koha/src/tools/picture-upload.pl line 240.
Variable "$uploadfilename" is not available at
/home/koha/src/tools/picture-upload.pl line 241.

To avoid that, they are now declared with our.

Test plan:
Upload image for a patron and confirm that you get a "Result" table and
the errors do not longer appear in the logs.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Katrin Fischer  <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-02 14:21:51 +00:00
..
csv-profiles
quotes
ajax-inventory.pl
automatic_item_modification_by_age.pl Bug 16889: Remove C4::Items::biblioitems_columns and use Koha::Biblioitems->columns instead 2016-07-15 18:12:13 +00:00
background-job-progress.pl
batch_delete_records.pl bug 14504: (QA followup) fixing DelItemCheck arguments 2016-08-26 12:07:26 +00:00
batch_record_modification.pl
batch_records_ajax.pl
batchMod.pl bug 14504: (QA followup) fixing DelItemCheck arguments 2016-08-26 12:07:26 +00:00
cleanborrowers.pl Bug 15023: (followup) Remove warnings 2016-08-24 11:37:02 +00:00
copy-holidays.pl
csv-profiles.pl Bug 15451: Better error handling 2016-07-22 17:18:37 +00:00
exceptionHolidays.pl
export.pl Bug 15451: Do not considered a Resultset as a Result 2016-07-22 17:18:36 +00:00
holidays.pl
import_borrowers.pl Bug 17116: Fix CSRF in import_borrowers.pl 2016-09-02 13:47:02 +00:00
inventory.pl
koha-news.pl Bug 16550: Clean the tests 2016-05-23 17:37:48 +00:00
letter.pl Bug 14757: Remove obsolete occurrence of is_tt 2016-07-08 13:47:43 +00:00
manage-marc-import.pl Bug 9259: Ability to delete a staged file once it has been cleaned 2016-07-08 13:43:53 +00:00
marc_modification_templates.pl Bug 16148 - Revised layout and behavior of marc modification template management 2016-06-17 16:11:43 +00:00
modborrowers.pl Bug 16681 - Allow update of opacnote via batch patron modification tool 2016-07-15 18:07:16 +00:00
newHolidays.pl
overduerules.pl
picture-upload.pl Bug 16886: Make the 'Upload patron images' tool plack safe 2016-09-02 14:21:51 +00:00
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl
stage-marc-import.pl
tools-home.pl
upload-cover-image.pl
upload-file.pl Bug 14686: [QA Follow-up] Move allows_add_by to Upload.pm 2016-04-27 16:14:18 +00:00
upload.pl
viewlog.pl Bug 16829: Add 'interface' to the log viewer 2016-08-17 18:01:49 +00:00