[Koha-bugs] [Bug 17879] Possible to upload images with no image name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 10 23:23:33 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17879

--- Comment #1 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 58788
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58788&action=edit
Bug 17879: Use image filename if no image name is entered

This patch changes the code to use the filename of the uploaded image if
no specific image name is entered.

To test:
1) Go to Tools -> Patron card creator -> Manage images
2) Upload an image and leave the image name field empty
3) Notice this works and 'Name' is left empty.
4) Apply patch and refresh page
5) Upload an image and leave the image name field empty
6) Notice the image name is given the filename so that 'Name' is no
longer empty.

Sponsored-by: Catalyst IT

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


More information about the Koha-bugs mailing list