From ee49ccff6d6073ddc75d76072bf5d79e65f18a0b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 9 Oct 2017 15:57:46 -0300 Subject: [PATCH] Bug 19440: Existing calls need to be done in scalar context --- catalogue/detail.pl | 2 +- opac/opac-detail.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 1e18a1d667..1359c0b6f8 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -436,7 +436,7 @@ if (C4::Context->preference("virtualshelves") ) { if (C4::Context->preference("FRBRizeEditions")==1) { eval { $template->param( - XISBNS => get_xisbns($isbn) + XISBNS => scalar get_xisbns($isbn) ); }; if ($@) { warn "XISBN Failed $@"; } diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 8252e509cd..785589b75d 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -893,7 +893,7 @@ if (C4::Context->preference("virtualshelves") ) { if (C4::Context->preference("OPACFRBRizeEditions")==1) { eval { $template->param( - XISBNS => get_xisbns($isbn) + XISBNS => scalar get_xisbns($isbn) ); }; if ($@) { warn "XISBN Failed $@"; } -- 2.11.0