Commit bf9d8480 authored by Philipp Nowinski's avatar Philipp Nowinski

[BUGFIX] fix broken defaults

parent 14fe5833
......@@ -183,13 +183,13 @@ abstract class AbstractBackendController extends AbstractController {
);
$backendConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['lfeditor'], []);
if ((int)$backendConfiguration['editModeExtension'] === 0) {
if (isset($backendConfiguration['editModeExtension']) && ((int) $backendConfiguration['editModeExtension']) === 0) {
unset($editingModeOptions['extension']);
}
if ((int)$backendConfiguration['editModeL10n'] === 0) {
if (isset($backendConfiguration['editModeL10n']) && ((int) $backendConfiguration['editModeL10n']) === 0) {
unset($editingModeOptions['l10n']);
}
if ((int)$backendConfiguration['editModeOverride'] === 0) {
if (isset($backendConfiguration['editModeOverride']) && ((int) $backendConfiguration['editModeOverride']) === 0) {
unset($editingModeOptions['override']);
}
......
......@@ -4,7 +4,7 @@
"description": "Language File Editor",
"homepage": "https://www.sgalinski.de",
"license": ["GPL-2.0-or-later"],
"version": "4.1.1",
"version": "4.1.2",
"support": {
"issues": "https://gitlab.sgalinski.de/typo3/lfeditor/issues",
"source": "https://gitlab.sgalinski.de/typo3/lfeditor/"
......
......@@ -18,7 +18,7 @@ Following functions are implemented in this module:
* Meta information handling
* Backups, recovering and diff view',
'category' => 'module',
'version' => '4.1.1',
'version' => '4.1.2',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
......
Markdown is supported
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