Bug 14338: Unable to delete patron images
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 5 Jun 2015 12:06:29 +0000 (08:06 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 11 Jun 2015 13:08:59 +0000 (10:08 -0300)
commit721a77e6696c26efedd1955569a00e1dff2aa6b8
tree103abdd63bd164b6b6e536f0afa20c3a34840a65
parent41b9687d975a3c2a54cc28229d4ba76edf175de9
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
tools/picture-upload.pl