[open-ils-commits] r11426 - branches/rel_1_2_3/Open-ILS/src/reporter
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 5 17:04:34 EST 2008
Author: miker
Date: 2008-12-05 17:04:30 -0500 (Fri, 05 Dec 2008)
New Revision: 11426
Modified:
branches/rel_1_2_3/Open-ILS/src/reporter/clark-kent.pl
Log:
Patch from Brandon Uhlman to repair an Excel sheet name off-by-one bug
Modified: branches/rel_1_2_3/Open-ILS/src/reporter/clark-kent.pl
===================================================================
--- branches/rel_1_2_3/Open-ILS/src/reporter/clark-kent.pl 2008-12-05 22:04:19 UTC (rev 11425)
+++ branches/rel_1_2_3/Open-ILS/src/reporter/clark-kent.pl 2008-12-05 22:04:30 UTC (rev 11426)
@@ -373,7 +373,7 @@
my $r = shift;
my $xls = Spreadsheet::WriteExcel::Big->new($file);
- my $sheetname = substr($r->{report}->{name},1,31);
+ my $sheetname = substr($r->{report}->{name},0,30);
$sheetname =~ s/\W/_/gos;
my $sheet = $xls->add_worksheet($sheetname);
More information about the open-ils-commits
mailing list