aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/admin_multi_view')
-rw-r--r--plugins/admin_multi_view/is_admin.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/admin_multi_view/is_admin.inc.php b/plugins/admin_multi_view/is_admin.inc.php
index 7dbedf8f3..78f68eef1 100644
--- a/plugins/admin_multi_view/is_admin.inc.php
+++ b/plugins/admin_multi_view/is_admin.inc.php
@@ -13,7 +13,7 @@ if (! defined('MULTIVIEW_CONTROLLER') )
list($user['template'], $user['theme']) = explode('/', $theme);
}
$lang = pwg_get_session_var( 'multiview_lang', '' );
- if ( !empty($theme) )
+ if ( !empty($lang) )
{
$user['language'] = $lang;
}