X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=svc%2Fimport_bib;h=f93428d71461731c6535fbb198412b4941975243;hb=de03c263f0579d28a735e3b1261121e439263a82;hp=a029a58c843ac7c04212177f5ed2a3f653533c0f;hpb=374b6f4b9f33a776d04cdaa696b40e8e033dda32;p=koha_fer diff --git a/svc/import_bib b/svc/import_bib index a029a58c84..f93428d714 100755 --- a/svc/import_bib +++ b/svc/import_bib @@ -86,10 +86,10 @@ sub import_bib { my $matcher = C4::Matcher->new($params->{record_type} || 'biblio'); $matcher = C4::Matcher->fetch($params->{matcher_id}); - my $number_of_matches = BatchFindBibDuplicates($batch_id, $matcher); + my $number_of_matches = BatchFindDuplicates($batch_id, $matcher); # XXX we are ignoring the result of this; - BatchCommitBibRecords($batch_id, $framework) if lc($import_mode) eq 'direct'; + BatchCommitRecords($batch_id, $framework) if lc($import_mode) eq 'direct'; my $dbh = C4::Context->dbh(); my $sth = $dbh->prepare("SELECT matched_biblionumber FROM import_biblios WHERE import_record_id =?");