X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FRecord.pm;h=bdf3bcf3a1dc915ecf4844c2792e58e6e0e05ad2;hb=54a357b171aa44f9399b4c146acd2afd3b686075;hp=3d4bfae9c26014c74a315b546e4d74aa5e2f2602;hpb=06f92269d9fe378cfa2f00c958404a6e8df642ff;p=freeside.git diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 3d4bfae9c..bdf3bcf3a 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -1794,6 +1794,8 @@ sub batch_import { last unless scalar(@buffer); my $row = shift @buffer; + &{ $asn_format->{row_callback} }( $row, $asn_header_buffer ) + if $asn_format->{row_callback}; foreach my $key ( keys %{ $asn_format->{map} } ) { $hash{$key} = &{ $asn_format->{map}{$key} }( $row, $asn_header_buffer ); }