From 843d56e38ec174d364a43c0233e1d55a4a1b9c4b Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 21 Jun 2007 20:55:49 +0000 Subject: Error on my last commit 2038 git-svn-id: http://piwigo.org/svn/trunk@2039 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_user.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index d3f0b4aa5..26ca7dd7e 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -152,8 +152,6 @@ function build_user( $user_id, $use_cache ) // calculation of the number of picture to display per page $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page']; - list($user['template'], $user['theme']) = explode('/', $user['template']); - if (is_admin($user['status'])) { list($user['admin_template'], $user['admin_theme']) = @@ -165,6 +163,8 @@ function build_user( $user_id, $use_cache ) ); } + list($user['template'], $user['theme']) = explode('/', $user['template']); + return $user; } -- cgit v1.2.3