Worksheet name can't be longer than 31 characters

This commit is contained in:
moodler
2003-11-27 07:10:27 +00:00
parent 5d422d4284
commit 1bdcef1051
+1 -1
View File
@@ -119,7 +119,7 @@
$workbook = new Workbook("-");
// Creating the first worksheet
$myxls =& $workbook->add_worksheet($survey->name);
$myxls =& $workbook->add_worksheet(substr($survey->name, 0, 31));
$header = array("surveyid","surveyname","userid","firstname","lastname","email","idnumber","time", "notes");
$col=0;