]> git.koha-community.org Git - koha.git/commit
Bug 23785: Fix call get_coins on undef value in opac-search.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Nov 2019 09:14:14 +0000 (10:14 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 19 Dec 2019 22:08:37 +0000 (22:08 +0000)
commit8073350819ea0fa73e3492e62b52575fecaecc3e
tree57e6cd1a3039f1bf9b74102da0674e39134786c9
parentbf793c3fe0e9007e81d0258ac26a70c38aa02978
Bug 23785: Fix call get_coins on undef value in opac-search.pl

If the search engine index returns a record that is no longer in the DB,
an OPAC search will explode with:
  Can't call method "get_coins" on an undefined value at
  /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 692.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
opac/opac-search.pl