]> git.koha-community.org Git - koha.git/commit
Bug 21475: Fix crash on missing default itemtype
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 15 Oct 2018 12:01:14 +0000 (14:01 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 15:51:26 +0000 (15:51 +0000)
commit8d0e08fdf58b029b619d18a9600b8d6f1410a644
treed670d15646e0b048b74f900573064ee2e6aaae6e
parent17e5691daaa0f6b73623198eded648c78e40056a
Bug 21475: Fix crash on missing default itemtype

Test plan:
Enable ArticleRequests.
Find book without itemtype (942c). Maybe you need this:
  update biblioitems set itemtype=NULL where biblionumber=[...]
Goto opac detail for that book. 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: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/opac-detail.pl