bugfix: prevent crash when displaying authority record leader

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Galen Charlton 2007-11-09 16:58:42 -06:00 committed by Joshua Ferraro
parent 82b6bf935e
commit e515e49bce
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ sub build_tabs ($$$$$) {
@fields = $record->field($tag);
}
else {
push @fields, $record->leader(); # if tag == 000
push @fields, MARC::Field->new('000', $record->leader()); # if tag == 000
}
# loop through each field
foreach my $field (@fields) {