]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1246371: Allow BibCommon::title_is_empty to accept a bre id or bre object.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 30 Oct 2013 15:05:45 +0000 (11:05 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 13 Nov 2014 18:55:11 +0000 (10:55 -0800)
commit984b402b68c945663e2cf2053cdd9f697198e932
treecd189141be0a3ab25daefb6a7198fc242a9dd5d3
parent95b4cd65d03c3752dca07d32e7aa6496e827dd2f
LP#1246371: Allow BibCommon::title_is_empty to accept a bre id or bre object.

I was trying to delete copies with the record fleshed in the call number
object and got the following error:

Can't use an undefined value as an ARRAY reference at
/usr/local/share/perl/5.14.2/OpenILS/Application/Cat/BibCommon.pm line 399

Having title_is_empty check for a bre object and use its id solved this
problem for me.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm