[BUGFIX] User settings do not obey setup.override 47/29247/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 7 Apr 2014 12:45:16 +0000 (14:45 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 7 Apr 2014 13:56:03 +0000 (15:56 +0200)
Add a missing isset() check whether a setting has been overridden
by user TSconfig.

Resolves: #57690
Releases: 6.2, 6.1
Change-Id: Id1290b2af85061051ce0cedff4a0be96a91c4dce
Reviewed-on: https://review.typo3.org/29247
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/setup/Classes/Controller/SetupModuleController.php

index 6563587..35ae29b 100644 (file)
@@ -479,7 +479,7 @@ class SetupModuleController {
                        if ($style) {
                                $more .= ' style="' . $style . '"';
                        }
-                       if ($this->overrideConf[$fieldName]) {
+                       if (isset($this->overrideConf[$fieldName])) {
                                $more .= ' disabled="disabled"';
                        }
                        $value = $config['table'] == 'be_users' ? $GLOBALS['BE_USER']->user[$fieldName] : $GLOBALS['BE_USER']->uc[$fieldName];