]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 6 May 2022 17:47:21 +0000 (13:47 -0400)
commit8be82f861621cdf86bcd4b683254365542897ed4
treec924884ab3870890f16bf09dd9fd7cf622147cea
parent1f035e708fe00929950a33ab5158fb93416b2e33
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
patroncards/edit-template.pl