]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 16 Jun 2015 01:23:34 +0000 (13:23 +1200)
commit503d90394ded34bab4671fa22e4c46291314ec84
treece268733cf3bb0f8af98530e37fcbbdaa0a044ce
parent971f6ccf917e57a9cb6de22d3d0092a017abef74
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>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
tools/picture-upload.pl