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:
patdenice 2011-03-06 08:59:48 +00:00
parent 1774bd1b98
commit 224005820d

View file

@ -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;