mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 00:05:49 +02:00
seems like there were some critical bugs open...
Fix bug #2265 git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@8377 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -370,7 +370,7 @@ function init_userprefs($userdata)
|
||||
|
||||
$userdata['user_lang'] = $default_lang;
|
||||
}
|
||||
elseif ( $userdata['user_id'] === ANONYMOUS && $board_config['default_lang'] !== $default_lang )
|
||||
elseif ( $userdata['user_id'] == ANONYMOUS && $board_config['default_lang'] !== $default_lang )
|
||||
{
|
||||
$sql = 'UPDATE ' . CONFIG_TABLE . "
|
||||
SET config_value = '" . $default_lang . "'
|
||||
|
Reference in New Issue
Block a user