]> git.koha-community.org Git - koha.git/commit
Bug 14338: Unable to delete patron images
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 5 Jun 2015 12:06:29 +0000 (08:06 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 11 Jun 2015 20:38:28 +0000 (08:38 +1200)
commit7c325f095f0b75b84d6aac002b5df4800f36605f
tree19a9db061e03d7f35fc36e68c6047e6ac531b969
parentfc3fe18d05f2d12e1bfb33b279112680b6fd16a9
Bug 14338: Unable to delete patron images

The call to RmPatronImage is still passing cardnumber as its parameter
instead of borrowernumber.

Test Plan:
1) Upload a patron image
2) Ensure the card number is not the same as the borrower number
3) Attempt to delete patron image
   -- Image will remain
4) Apply this patch
5) Attempt to delete patron image
   -- Image will be removed
6) run koha qa test tools

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 721a77e6696c26efedd1955569a00e1dff2aa6b8)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
tools/picture-upload.pl