diff options
Diffstat (limited to 'FS/FS/Record.pm')
-rw-r--r-- | FS/FS/Record.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index e02a2cff8..b05fb3e90 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -1767,6 +1767,8 @@ sub batch_import { last unless scalar(@buffer); $line = shift(@buffer); + next if $line =~ /^\s*$/; #skip empty lines + $parser->parse($line) or do { $dbh->rollback if $oldAutoCommit; return "can't parse: ". $parser->error_input(); |