]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 20 Dec 2019 18:23:40 +0000 (18:23 +0000)
commit096d29f56ad74e3142876198a888fb8154d41f28
tree4aceef1f32d099e7b3e49518e6c82a288599c2c9
parent6193a6b7453b1002aa22ef7b636579117187cddc
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>
(cherry picked from commit 8073350819ea0fa73e3492e62b52575fecaecc3e)

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