From e8eec3c9f191dd16490d6d44ec67364c6fee4d44 Mon Sep 17 00:00:00 2001 From: tgarip1957 Date: Fri, 19 May 2006 23:17:42 +0000 Subject: [PATCH] fixing typo error --- misc/marc_into_authority.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/marc_into_authority.pl b/misc/marc_into_authority.pl index 9c679bbeda..1df7f36377 100644 --- a/misc/marc_into_authority.pl +++ b/misc/marc_into_authority.pl @@ -47,7 +47,7 @@ while (my ($authid,$authtypecode)=$sth->fetchrow ){ my ($authidfield,$authidsubfield)=AUTHfind_marc_from_kohafield($dbh,"auth_header.authid",$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 - $record->add_fields($authfield,'','',$authidsubfield=>$authid,$authtypesubfield=>$authtypecode); + $record->add_fields($authidfield,'','',$authidsubfield=>$authid,$authtypesubfield=>$authtypecode); $sth2->execute($record->as_usmarc,$authid); $timeneeded = gettimeofday - $starttime unless ($i % 1000); print "$i in $timeneeded s\n" unless ($i % 1000); -- 2.39.2