Commit 89c40887 authored by Tim Wagner's avatar Tim Wagner
Browse files

[BUGFIX] Correctly cast false boolean settings

parent ad06f706
......@@ -91,9 +91,7 @@ class ExtensionSettingsService {
}
// TYPO3 6 stores all settings as strings, some are expected to be booleans, though.
if ($value === 'TRUE' || $value === 'FALSE' ) {
$value = (bool) $value;
}
$value = ($value === 'FALSE') ? FALSE : $value;
return $value;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment