fixing typo error
This commit is contained in:
parent
5ea8572747
commit
e8eec3c9f1
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ while (my ($authid,$authtypecode)=$sth->fetchrow ){
|
||||||
my ($authidfield,$authidsubfield)=AUTHfind_marc_from_kohafield($dbh,"auth_header.authid",$authtypecode);
|
my ($authidfield,$authidsubfield)=AUTHfind_marc_from_kohafield($dbh,"auth_header.authid",$authtypecode);
|
||||||
my ($authidfield,$authtypesubfield)=AUTHfind_marc_from_kohafield($dbh,"auth_header.authtypecode",$authtypecode);
|
my ($authidfield,$authtypesubfield)=AUTHfind_marc_from_kohafield($dbh,"auth_header.authtypecode",$authtypecode);
|
||||||
##Both authid and authtypecode is expected to be in the same field. Modify if other requirements arise
|
##Both authid and authtypecode is expected to be in the same field. Modify if other requirements arise
|
||||||
$record->add_fields($authfield,'','',$authidsubfield=>$authid,$authtypesubfield=>$authtypecode);
|
$record->add_fields($authidfield,'','',$authidsubfield=>$authid,$authtypesubfield=>$authtypecode);
|
||||||
$sth2->execute($record->as_usmarc,$authid);
|
$sth2->execute($record->as_usmarc,$authid);
|
||||||
$timeneeded = gettimeofday - $starttime unless ($i % 1000);
|
$timeneeded = gettimeofday - $starttime unless ($i % 1000);
|
||||||
print "$i in $timeneeded s\n" unless ($i % 1000);
|
print "$i in $timeneeded s\n" unless ($i % 1000);
|
||||||
|
|
Loading…
Reference in a new issue