diff options
-rw-r--r-- | FS/FS/Record.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 3511fe7f0..e7440feb5 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -1925,7 +1925,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" : '' ). |