MDL-36845 excel export: don't output invalid sheet names.
We should clean any proposed worksheet name, to remove the characters that Excel does not allow.
This commit is contained in:
+1
-1
@@ -1505,7 +1505,7 @@ class table_spreadsheet_export_format_parent extends table_default_export_format
|
||||
}
|
||||
|
||||
function start_table($sheettitle) {
|
||||
$this->worksheet =& $this->workbook->add_worksheet($sheettitle);
|
||||
$this->worksheet = $this->workbook->add_worksheet($sheettitle);
|
||||
$this->rownum=0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user