X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FRecord.pm;h=bdf3bcf3a1dc915ecf4844c2792e58e6e0e05ad2;hb=196d15248930f3e54811a8b46b5ede47db678e19;hp=3d4bfae9c26014c74a315b546e4d74aa5e2f2602;hpb=b595a15e182ce891241bf710cd7dbaf84570edd4;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 ); }