Bug 19440: Existing calls need to be done in scalar context
Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
356047b920
commit
b02a0af06e
|
|
@ -427,7 +427,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 $@"; }
|
||||
|
|
|
|||
|
|
@ -857,7 +857,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