From c4112a744f38f2ae78db1828c20d98d512d6efb9 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 Signed-off-by: Jonathan Druart (cherry picked from commit fed86d50420dcb3fb468c5743a1e370d075bc5e0) Signed-off-by: Fridolin Somers --- 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 3a632b6049..865da68cae 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 f2c2f6fe6a..c944810b24 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -890,7 +890,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.39.5