projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7e1862a
)
Changing 100$a coded field Only when marcflavour eq UNIMARC.
author
Henri-Damien LAURENT
<henridamien@koha-fr.org>
Tue, 6 Nov 2007 17:55:46 +0000
(11:55 -0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Wed, 7 Nov 2007 14:20:55 +0000
(08:20 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/AuthoritiesMarc.pm
patch
|
blob
|
history
diff --git
a/C4/AuthoritiesMarc.pm
b/C4/AuthoritiesMarc.pm
index
632bdb2
..
65cede5
100644
(file)
--- a/
C4/AuthoritiesMarc.pm
+++ b/
C4/AuthoritiesMarc.pm
@@
-517,7
+517,7
@@
sub AddAuthority {
$sth->finish;
}else{
$record->add_fields('001',$authid) unless ($record->field('001'));
- if (($format eq "UNIMARCAUTH") && (!$record->subfield('100','a')){
+ if (($format eq "UNIMARCAUTH") && (!$record->subfield('100','a'))
)
{
$record->leader(" nx j22 ");
my $date=POSIX::strftime("%Y%m%d",localtime);
if ($record->field('100')){