X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=svc%2Fimport_bib;h=f93428d71461731c6535fbb198412b4941975243;hb=5d6c092921919526ade501facb1220f8a108a08f;hp=a029a58c843ac7c04212177f5ed2a3f653533c0f;hpb=0d4acbba5c5db238eb42ed37dc9ba3dc2f36974b;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 =?");