commiting modif already in RC2 (bug in breeding import)
authortipaul <tipaul>
Wed, 24 Nov 2004 15:55:31 +0000 (15:55 +0000)
committertipaul <tipaul>
Wed, 24 Nov 2004 15:55:31 +0000 (15:55 +0000)
C4/Breeding.pm

index 9f633d3..f2029ac 100644 (file)
@@ -76,7 +76,7 @@ where isbn=? and title=?");
                if (ref($marcrecord) eq undef) {
                        $notmarcrecord++;
                } else {
-                       my $oldbiblio = MARCmarc2koha($dbh,$marcrecord);
+                       my $oldbiblio = MARCmarc2koha($dbh,$marcrecord,'');
                        $oldbiblio->{title} = char_decode($oldbiblio->{title},$encoding);
                        $oldbiblio->{author} = char_decode($oldbiblio->{author},$encoding);
                        # if isbn found and biblio does not exist, add it. If isbn found and biblio exists, overwrite or ignore depending on user choice