summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/Record.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index 1280f08d6..81d52180d 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -1922,7 +1922,7 @@ sub batch_import {
next if exists( $param->{skiprow} );
if ( $preinsert_callback ) {
- my $error = &{$postinsert_callback}($record, $param);
+ my $error = &{$preinsert_callback}($record, $param);
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
return "preinsert_callback error". ( $line ? " for $line" : '' ).