merge r9549 from trunk to branch 2.1
bug:2213 Default language must be set to guest AND default user git-svn-id: http://piwigo.org/svn/branches/2.1@9550 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
1774bd1b98
commit
224005820d
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ UPDATE '.USER_INFOS_TABLE.'
|
|||
$query = '
|
||||
UPDATE '.USER_INFOS_TABLE.'
|
||||
SET language = \''.$language_id.'\'
|
||||
WHERE user_id = '.$conf['default_user_id'].'
|
||||
WHERE user_id IN ('.$conf['default_user_id'].', '.$conf['guest_id'].')
|
||||
;';
|
||||
pwg_query($query);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue