From: ivan Date: Sun, 1 May 2011 19:51:06 +0000 (+0000) Subject: cdr reimporting, RT#12181 X-Git-Tag: freeside_2_3_0~313 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f330b8eefa6ff66f0e419aa820f7d9487b104104 cdr reimporting, RT#12181 --- 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" : '' ).