mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
Error on my last commit 2038
git-svn-id: http://piwigo.org/svn/trunk@2039 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user