]> git.koha-community.org Git - koha.git/commit
Bug 24001: Fix patron card template edition
authorBlou <blou@inlibro.com>
Tue, 30 Jun 2020 16:50:09 +0000 (12:50 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 28 Apr 2022 20:49:20 +0000 (10:49 -1000)
commitb3142cfe4363ee163f56076ec9275442f962b077
tree014d35852f03d73428f329c82e68af42ebe482a0
parent593a258238aa86155160e94c5800e6c9fa05eab5
Bug 24001: Fix patron card template edition

Error when saving Patron card Template:
Can't bless non-reference value at
/home/vagrant/kohaclone/C4/Creators/Profile.pm line 89

This is caused by the profile dropdown offering invalid choices and is
fixed by adding a filter to limit options to creator = 'Patroncards'.
The UI already handles the case where no valid profile is avaiable.

Signed-off-by: Alexis Ripetti <alexis.ripetti@inLibro.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
patroncards/edit-template.pl