]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Apr 2019 10:36:30 +0000 (10:36 +0000)
commitb78bd2faec703bb7d7c750dbc1070ba2449f29a9
treeaa67451604983a863ca90a00122a79e78632ce56
parentd8a759162cde8f373ea945a7e509102ec81878e0
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>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl