Commit 141f66f3 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Admin fields not shown in setup module

The admin functions are currently not shown in User->setup module.
Affected is for example the 'Display debug messages in a new
browser window' checkbox, that is never shown if an admin is logged in.

This regression was introduced by a wrong refactoring in issue #39164,
the class prefix patch. Looking at the code before and after, the
regression is obvious.

Change-Id: Ic892c830f1ca0cfaccf3e53648d405b35d463377
Releases: 6.0
Related: #39164
Resolves: #39365
Reviewed-on: http://review.typo3.org/13333
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 2a488736
......@@ -796,6 +796,8 @@ class SC_mod_user_setup_index {
if (is_object($accessObject) && method_exists($accessObject, 'accessLevelCheck')) {
// Initialize vars. If method fails, $set will be set to FALSE
return $accessObject->accessLevelCheck($config);
} elseif ($access == 'admin') {
return $this->isAdmin;
}
}
......
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