koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/misc marc_into_authority.pl


From: Tumer Garip
Subject: [Koha-cvs] koha/misc marc_into_authority.pl
Date: Fri, 19 May 2006 23:17:42 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Tumer Garip <address@hidden>    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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]