Skip to content

Commit

Permalink
bug:2213
Browse files Browse the repository at this point in the history
Default language must be set to guest AND default user 

git-svn-id: http://piwigo.org/svn/trunk@9549 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Mar 6, 2011
1 parent c2a5373 commit 99634e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/include/languages.class.php
Expand Up @@ -140,7 +140,7 @@ function perform_action($action, $language_id)
$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;
Expand Down

0 comments on commit 99634e0

Please sign in to comment.