Skip to content
Snippets Groups Projects
Commit 55f79be9 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix check for new global extension configuration option

parent 7009e3ac
No related branches found
No related tags found
1 merge request!11Feature security update
......@@ -84,10 +84,10 @@ class RegisterService implements \TYPO3\CMS\Core\SingletonInterface {
private function registerExtensions(): array {
$this->registerArray = [];
$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['sg_mail'], []);
$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['sg_mail'], ['array']);
// @TODO remove in version 5.0.0
if ($extensionConfiguration['enableSecurity'] === 0) {
if (((int) $extensionConfiguration['enableSecurity']) === 0) {
MailTemplateService::registerExtensions();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment