From: miker Date: Wed, 9 May 2007 22:12:34 +0000 (+0000) Subject: finally found and killed the oisbn bug -- I think X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3985983f5314df263131912033591bcfae16f874;p=Evergreen.git finally found and killed the oisbn bug -- I think git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@7229 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm index 63b0ce287f..6be3338b03 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm @@ -1042,7 +1042,7 @@ sub oISBN { # Return the oISBN data structure. This will be XMLized at a higher layer. return { metarecord => $mr->[0]->metarecord, - record_list => { map { ($_->record, $_->value) } @$recs } }; + record_list => { map { $_ ? ($_->record, $_->value) : () } @$recs } }; } __PACKAGE__->register_method(