Commit bf9d8480 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] fix broken defaults

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