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

Ryan Higgins rch at liblime.com
Tue Jan 30 00:41:36 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Ryan Higgins <rych>	07/01/29 23:41:36

Modified files:
	C4             : Breeding.pm 

Log message:
	fix or partial fix for bug 1024 - http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1024
	reset breedingid so that records missing isbn & issn can be imported.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Breeding.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.7.2.3&r2=1.7.2.4

Patches:
Index: Breeding.pm
===================================================================
RCS file: /sources/koha/koha/C4/Breeding.pm,v
retrieving revision 1.7.2.3
retrieving revision 1.7.2.4
diff -u -b -r1.7.2.3 -r1.7.2.4
--- Breeding.pm	3 Nov 2006 03:30:24 -0000	1.7.2.3
+++ Breeding.pm	29 Jan 2007 23:41:36 -0000	1.7.2.4
@@ -72,6 +72,7 @@
 	my $notmarcrecord = 0;
         my $breedingid;
 	for (my $i=0;$i<=$#marcarray;$i++) {
+		$breedingid=0;
 		my $marcrecord = MARC::File::USMARC::decode($marcarray[$i]."\x1D");
 		my @warnings = $marcrecord->warnings();
 		if (scalar($marcrecord->fields()) == 0) {





More information about the Koha-cvs mailing list