[Koha-cvs] koha/authorities authorities.pl [rel_2_2]

Henri-Damien LAURENT laurenthdl at alinto.com
Thu Feb 15 19:29:56 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Henri-Damien LAURENT <hdl>	07/02/15 18:29:56

Modified files:
	authorities    : authorities.pl 

Log message:
	Removing some warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/authorities/authorities.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.8.2.12&r2=1.8.2.13

Patches:
Index: authorities.pl
===================================================================
RCS file: /sources/koha/koha/authorities/authorities.pl,v
retrieving revision 1.8.2.12
retrieving revision 1.8.2.13
diff -u -b -r1.8.2.12 -r1.8.2.13
--- authorities.pl	15 Jan 2007 17:56:43 -0000	1.8.2.12
+++ authorities.pl	15 Feb 2007 18:29:56 -0000	1.8.2.13
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: authorities.pl,v 1.8.2.12 2007/01/15 17:56:43 hdl Exp $
+# $Id: authorities.pl,v 1.8.2.13 2007/02/15 18:29:56 hdl Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -340,7 +340,7 @@
          my $xml = AUTHhtml2xml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag);
  		$record=MARC::Record->new_from_xml($xml,C4::Context->preference('TemplateEncoding'),C4::Context->preference('marcflavour'));
  	}
-	warn "REC : ".$record->as_formatted;
+# 	warn "REC : ".$record->as_formatted;
         # 
 # MARC::Record built => now, record in DB
 	# check for a duplicate
@@ -386,7 +386,7 @@
          my $xml = AUTHhtml2xml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag);
  		$record=MARC::Record->new_from_xml($xml,C4::Context->preference('TemplateEncoding'),C4::Context->preference('marcflavour'));
  	}
-	warn "REC : ".$record->as_formatted;
+# 	warn "REC : ".$record->as_formatted;
 	my $field = MARC::Field->new("$addedfield",'','','a'=> "");
 	$record->append_fields($field);
 





More information about the Koha-cvs mailing list