[Koha-cvs] koha/misc marc_into_authority.pl

Tumer Garip tgarip at neu.edu.tr
Sat May 20 01:17:42 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	
Changes by:	Tumer Garip <tgarip1957 at savannah.gnu.org>	06/05/19 23:17:42

Modified files:
	misc           : marc_into_authority.pl 

Log message:
	fixing typo error

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/misc/marc_into_authority.pl.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: koha/misc/marc_into_authority.pl
diff -u koha/misc/marc_into_authority.pl:1.2 koha/misc/marc_into_authority.pl:1.3
--- koha/misc/marc_into_authority.pl:1.2	Fri May 19 21:39:52 2006
+++ koha/misc/marc_into_authority.pl	Fri May 19 23:17:42 2006
@@ -47,7 +47,7 @@
 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);





More information about the Koha-cvs mailing list