Bug 29002: (follow-up) Make CanBook more resilient
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Nov 2023 17:11:51 +0000 (17:11 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 17:22:49 +0000 (14:22 -0300)
commit470da48af8e4ebbb5c3f89386a2c3be8a9d12c6d
treeb90b95599f33f38d5c3169941763855aa8b7b350
parentcfc63f77bbeb10f3b80c706361ffabed041853ef
Bug 29002: (follow-up) Make CanBook more resilient

This patch adds a check for biblio existance prior to method resolution
failure in Koha::Template::Plugin::Biblio.

This fixes a failure case in unit tests.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Template/Plugin/Biblio.pm