]> git.koha-community.org Git - koha.git/commit
Bug 22735: Resolve internal server error on missing item type
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 19 Apr 2019 06:49:48 +0000 (06:49 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 May 2019 08:10:59 +0000 (08:10 +0000)
commita2d45b1cb4a65ba29f3047fa34ae75fad3a4144b
tree321297d1c1aa02d09212717c6dc844fcb7b0d54a
parentce7cb18847d5273409dfd30317070338e100a954
Bug 22735: Resolve internal server error on missing item type

Trivial fix, similar to opac-detail, applied to ISBD and MARC detail.

Test plan:
Enable ArticleRequests pref.
Make sure you have a biblio with no item type in 942c. (Perhaps you need to
make 942c not mandatory temporarily and save a biblio record without this
field being filled.)
If you are logged in, log out.
Go to MARC or ISBD detail page. No crash anymore?

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit b78bd2faec703bb7d7c750dbc1070ba2449f29a9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b99fbdd8fc85beb989a51142bb531673748bc344)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl