Koha-clms/patroncards
Chris Nighswonger 297219f0dc Bug 8604: Patron cards made for patrons which don't have patron images use preceding card's image
This patch corrects referential problems which caused the script to
"re-use" images as well as other sorts of bad image behaviour.

To test:

1. Ensure that you can reproduce the original bug or some variation thereof
using the steps described in either of these two comments:

    https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8604#c0

    https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8604#c6

    NOTE: This is not an easy bug to reproduce.

2. Once you can reproduce the bug, apply this patch and follow the same steps
used to reproduce the bug.

3. Observe that the symptoms are corrected.

Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Christian Stelzenmüller <christian.stelzenmueller@bsz-bw.de>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Reproduced the bug and resolved it with this patch.
Code is hard to read; exact cause of the problem was not fully uncovered.

Fixed spelling 'Destory' => 'Destroy'

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit b5e60f1547)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 97825af008)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-08-28 15:13:11 +02:00
..
add_user_search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
create-pdf.pl Bug 8604: Patron cards made for patrons which don't have patron images use preceding card's image 2018-08-28 15:13:11 +02:00
edit-batch.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
edit-layout.pl Bug 18541 - Patron card creator: Add a grid to support layout design 2017-09-19 11:47:32 -03:00
edit-profile.pl Bug 17900: Fix possible SQL injection in patron cards template editing 2017-01-30 11:19:55 +00:00
edit-template.pl Bug 17900: Fix possible SQL injection in patron cards template editing 2017-01-30 11:19:55 +00:00
home.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
image-manage.pl Bug 17181: Simplify code 2017-01-13 12:28:07 +00:00
manage.pl Bug 17900: Fix possible SQL injection in patron cards template editing 2017-01-30 11:19:55 +00:00
print.pl Bug 18465 - Patron card creator: Print on duplex card printer 2017-07-06 14:52:54 -03:00