avoid croak on latest CVS version of MARC::Record
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 26 Mar 2008 12:54:58 +0000 (07:54 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 1 Apr 2008 11:44:07 +0000 (06:44 -0500)
commit6a0a4e39006c5345cfd3ecb5582ebc6ee2738f64
treedb9fd1c4d81c3f598f2462cdc8067315919092bb
parentdd80cb4f2ab5ab00c26aba38773827043d9fbd91
avoid croak on latest CVS version of MARC::Record

The semantics of MARC::Record->delete_field() changed
slightly in the latest CVS version of MARC::Record.
delete_field() will now croak if passed an undef
scalar, while the version of MARC::Record from CPAN
accepts that input.  Since some packages of MARC::Record
in the wild appear to be based on the CVS version, not
the CPAN version, added a check where needed to avoid
the croak.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Biblio.pm