bugfix: handle subfield $0 in MARC for an item
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 27 Nov 2007 20:08:06 +0000 (14:08 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 27 Nov 2007 21:52:41 +0000 (15:52 -0600)
commitfe9106af0bce38d9a380d859a6429584718268d2
tree4a55e8a948ac7e577cb785ddc4daadc9b57ad064
parent8df88ef0608eb76cb1f7061c193ebaf102a17151
bugfix: handle subfield $0 in MARC for an item

Note: C4::Biblio::GetMarcFromKohaField returns (0, 0) if
the kohafield is not defined in the MARC framework, but
in may places the return value is not checked correctly
and does not recognize a subfield $0 (zero).  It
would be better if GetMarcFromKohaField returned (undef, undef)
in that circumstance, but because of the number of places
where that function is used, the changed is deferred for
post 3.0.

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