[freeside-commits] freeside/FS/FS Record.pm,1.196.2.2,1.196.2.3
Ivan,,,
ivan at wavetail.420.am
Wed Dec 2 23:37:57 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv31819
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.196.2.2
retrieving revision 1.196.2.3
diff -u -d -r1.196.2.2 -r1.196.2.3
--- Record.pm 19 Nov 2009 09:47:15 -0000 1.196.2.2
+++ Record.pm 3 Dec 2009 07:37:55 -0000 1.196.2.3
@@ -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