[freeside-commits] freeside/FS/FS Record.pm,1.198,1.199
Ivan,,,
ivan at wavetail.420.am
Wed Dec 2 23:37:55 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv31814
Modified Files:
Record.pm
Log Message:
fix startdate in sansay CDR import (and skip blank lines), RT#6801
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- Record.pm 19 Nov 2009 09:47:02 -0000 1.198
+++ Record.pm 3 Dec 2009 07:37:53 -0000 1.199
@@ -1767,6 +1767,8 @@
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();
More information about the freeside-commits
mailing list