projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
82b6bf9
)
bugfix: prevent crash when displaying authority record leader
author
Galen Charlton
<galen.charlton@liblime.com>
Fri, 9 Nov 2007 22:58:42 +0000 (16:58 -0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Tue, 13 Nov 2007 18:46:42 +0000 (12:46 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
authorities/detail.pl
patch
|
blob
|
history
diff --git
a/authorities/detail.pl
b/authorities/detail.pl
index
a1fbdae
..
9a7a495
100755
(executable)
--- a/
authorities/detail.pl
+++ b/
authorities/detail.pl
@@
-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) {