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:57:33 +0000 (10:57 -0800)
commitd52c7a0c85964329b4b9f8104d67ce7165e4a844
tree55a21f9146e00e0cb33206e23bf082b9e4bd183a
parent58b0239f3a7851a7cbaf1b29386bd2895eba081b
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