From d47465f38229ddab577a195419d4ddb4524885a7 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 (cherry picked from commit c4112a744f38f2ae78db1828c20d98d512d6efb9) Signed-off-by: Katrin Fischer --- 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 2bf81c2f78..59a6b4d6cb 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -430,7 +430,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 a7e643c4e1..5008c815af 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -880,7 +880,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