Bug 19440: Existing calls need to be done in scalar context
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 18:57:46 +0000 (15:57 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 19:15:52 +0000 (16:15 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

catalogue/detail.pl
opac/opac-detail.pl

index 1e18a1d..1359c0b 100755 (executable)
@@ -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 $@"; }
index 8252e50..785589b 100755 (executable)
@@ -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 $@"; }