aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-02-26 23:52:22 +0000
committerrvelices <rv-github@modusoptimus.com>2007-02-26 23:52:22 +0000
commitbfb4b15d2f75835033d9bbb865edd77dcb282bb6 (patch)
tree80f55833ccce52ffe2f5f4ae320bd90234682cfd /plugins/admin_multi_view
parenteac687a6e67aec80481830e3899eaf19776a513d (diff)
- bug 654: sql error on user comment (since my commit 1849)
- languages: english corrections + keep lang files sorted by key - admin multi view correction: language was not always properly changed - refactor function get_computed_categories (with rub's blessing) git-svn-id: http://piwigo.org/svn/trunk@1860 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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;
}