[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]

Joshua Ferraro jmf at liblime.com
Sat Apr 14 18:25:13 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Joshua Ferraro <kados>	07/04/14 16:25:13

Modified files:
	C4             : Biblio.pm 

Log message:
	minor spacing change, remove some unnecessary comments

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Biblio.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.115.2.65&r2=1.115.2.66

Patches:
Index: Biblio.pm
===================================================================
RCS file: /sources/koha/koha/C4/Biblio.pm,v
retrieving revision 1.115.2.65
retrieving revision 1.115.2.66
diff -u -b -r1.115.2.65 -r1.115.2.66
--- Biblio.pm	19 Jan 2007 09:11:35 -0000	1.115.2.65
+++ Biblio.pm	14 Apr 2007 16:25:12 -0000	1.115.2.66
@@ -26,7 +26,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.115.2.65 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.115.2.66 $' =~ /\d+/g;
                     shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 @ISA = qw(Exporter);
@@ -1037,8 +1037,6 @@
 	my ($tags,$subfields,$values,$indicator,$ind_tag) = @_;        
 	use MARC::File::XML;
 	my $xml= MARC::File::XML::header(C4::Context->preference('TemplateEncoding'),C4::Context->preference('marcflavour')); 
-	#$xml =~ s/UTF-8/ISO-8859-1/;
-	#tell perl that $xml is whatever default encoding is
 	my $prevvalue;
 	my $prevtag=-1;
 	my $first=1;
@@ -1049,6 +1047,7 @@
 		@$values[$i] =~ s/>/&gt;/g;
 		@$values[$i] =~ s/"/&quot;/g;
 		@$values[$i] =~ s/'/&apos;/g;
+
 		if ((@$tags[$i] ne $prevtag)){
 			$j++ unless (@$tags[$i] eq "");
 			#warn "IND:".substr(@$indicator[$j],0,1).substr(@$indicator[$j],1,1)." ".@$tags[$i];
@@ -3012,8 +3011,11 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.115.2.65 2007/01/19 09:11:35 rangi Exp $
+# $Id: Biblio.pm,v 1.115.2.66 2007/04/14 16:25:12 kados Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.115.2.66  2007/04/14 16:25:12  kados
+# minor spacing change, remove some unnecessary comments
+#
 # Revision 1.115.2.65  2007/01/19 09:11:35  rangi
 # Applying patch to fix bug 1230
 # On editing marc entry: Publisher fields(tag 260) NOT stored as utf8 in mysql





More information about the Koha-cvs mailing list