Fixed bug #13059: overriden user settings are not visible to the user (Thanks to...
[Packages/TYPO3.CMS.git] / typo3 / sysext / setup / mod / index.php
index 8bd0f7f..92ed563 100755 (executable)
@@ -512,6 +512,9 @@ class SC_mod_user_setup_index {
                        if ($style) {
                                $more .= ' style="' . $style . '"';
                        }
+                       if ($this->overrideConf[$fieldName]) {
+                               $more .= ' disabled="disabled"';
+                       }
 
                        $value = $config['table'] == 'be_users' ? $GLOBALS['BE_USER']->user[$fieldName] : $GLOBALS['BE_USER']->uc[$fieldName];
                        if (!$value && isset($config['default'])) {