[freeside-commits] freeside/FS/FS/cust_main Import.pm,1.3,1.4
Ivan,,,
ivan at wavetail.420.am
Tue Nov 25 16:20:32 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/cust_main
In directory wavetail.420.am:/tmp/cvs-serv10950/cust_main
Modified Files:
Import.pm
Log Message:
should fix importing from excel, closes: RT#4337
Index: Import.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main/Import.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Import.pm 20 Nov 2008 12:52:32 -0000 1.3
+++ Import.pm 26 Nov 2008 00:20:30 -0000 1.4
@@ -190,7 +190,7 @@
eval "use Spreadsheet::ParseExcel;";
die $@ if $@;
- my $excel = new Spreadsheet::ParseExcel::Workbook->Parse($filename);
+ my $excel = Spreadsheet::ParseExcel::Workbook->new->Parse($filename);
$parser = $excel->{Worksheet}[0]; #first sheet
$count = $parser->{MaxRow} || $parser->{MinRow};
More information about the freeside-commits
mailing list