Merge branch 'hotfix/4.7.2'
This commit is contained in:
@@ -137,6 +137,8 @@ class Xlsx extends \Espo\Core\Injectable
|
||||
foreach ($badCharList as $badChar) {
|
||||
$sheetName = str_replace($badCharList, ' ', $sheetName);
|
||||
}
|
||||
$sheetName = str_replace('\'', '', $sheetName);
|
||||
|
||||
$sheet->setTitle($sheetName);
|
||||
|
||||
$fieldList = $params['fieldList'];
|
||||
|
||||
@@ -61,12 +61,10 @@ class Mentions extends \Espo\Core\Hooks\Base
|
||||
}
|
||||
}
|
||||
|
||||
preg_match_all('/(@\w+)/', $post, $matches);
|
||||
preg_match_all('/(@[\w@.-]+)/', $post, $matches);
|
||||
|
||||
$mentionCount = 0;
|
||||
|
||||
|
||||
|
||||
if (is_array($matches) && !empty($matches[0]) && is_array($matches[0])) {
|
||||
$parent = null;
|
||||
if ($entity->get('parentId') && $entity->get('parentType')) {
|
||||
|
||||
Reference in New Issue
Block a user