Bug 19440: Existing calls need to be done in scalar context
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commitfed86d5042) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitc4112a744f) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
0b2e517259
commit
d47465f382
|
|
@ -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 $@"; }
|
||||
|
|
|
|||
|
|
@ -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 $@"; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue