Bug 19440: Existing calls need to be done in scalar context

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-10-09 15:57:46 -03:00
parent e908742418
commit fed86d5042
2 changed files with 2 additions and 2 deletions

View file

@ -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 $@"; }

View file

@ -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 $@"; }