aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view/is_admin.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-13 12:39:25 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-13 12:39:25 +0000
commit32d62126660c3c24556577d42bff024767127e55 (patch)
tree57e9a2e15644df1abdf5a15f63b6e9f1a5e5415a /plugins/admin_multi_view/is_admin.inc.php
parent2d7a399f7e1d305398a57b275f6fbafbed57ae00 (diff)
Feature 1502: Fix admin multi view plugin.
git-svn-id: http://piwigo.org/svn/trunk@5128 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_multi_view/is_admin.inc.php')
-rw-r--r--plugins/admin_multi_view/is_admin.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/admin_multi_view/is_admin.inc.php b/plugins/admin_multi_view/is_admin.inc.php
index a1521c47b..fbadada3a 100644
--- a/plugins/admin_multi_view/is_admin.inc.php
+++ b/plugins/admin_multi_view/is_admin.inc.php
@@ -10,8 +10,8 @@ if (! defined('MULTIVIEW_CONTROLLER') )
$theme = pwg_get_session_var( 'multiview_theme', '' );
if ( !empty($theme) )
{
- list($user['template'], $user['theme']) = explode('/', $theme);
- unset( $user['admin_template'], $user['admin_theme']);
+ $user['theme'] = $theme;
+ unset($user['admin_theme']);
}
$lang = pwg_get_session_var( 'multiview_lang', '' );
if ( !empty($lang) )