Merge branch 'hotfix/4.7.2'

This commit is contained in:
yuri
2017-06-06 12:03:35 +03:00
+4
View File
@@ -133,6 +133,10 @@ class Xlsx extends \Espo\Core\Injectable
}
$sheetName = substr($exportName, 0, 30);
$badCharList = ['*', ':', '/', '\\', '?', '[', ']'];
foreach ($badCharList as $badChar) {
$sheetName = str_replace($badCharList, ' ', $sheetName);
}
$sheet->setTitle($sheetName);
$fieldList = $params['fieldList'];