aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 4272b3d3b..cdf751979 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -205,12 +205,7 @@ function build_user( $user_id, $use_cache )
if (is_admin($user['status']))
{
list($user['admin_template'], $user['admin_theme']) =
- explode
- (
- '/',
- isset($conf['default_admin_layout']) ? $conf['default_admin_layout']
- : $user['template']
- );
+ explode ('/', $conf['admin_layout']);
}
list($user['template'], $user['theme']) = explode('/', $user['template']);