mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
- 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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user