https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27346
Bug ID: 27346
Summary: C4::XISBN warning on hash
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
When using ThingISBN alone you get a warning :
Failed Can't use string ("1") as a HASH ref while "strict refs" in use at
/home/koha/src/C4/XISBN.pm line 99.
sub get_xisbns {
my ( $isbn, $biblionumber ) = @_;
my ($response,$thing_response,$syndetics_response,$errors);
...
$response->{isbn} = [ @{ $syndetics_response->{isbn} or [] }, @{
$thing_response->{isbn} or [] } ];
Vars $thing_response,$syndetics_response must be initialised as an hashref.
Or maybe rewrite a bit this code.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/