diff options
author | patdenice <patdenice@piwigo.org> | 2011-03-06 08:58:33 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-03-06 08:58:33 +0000 |
commit | 99634e035b79b58beceae9bed418add6f03bdc7a (patch) | |
tree | 6ecb10540055fa123db91e4e1b9b1503d5f0a389 /admin/include | |
parent | c2a537318436d7f80401af3c68f1bcae24a5274c (diff) |
bug:2213
Default language must be set to guest AND default user
git-svn-id: http://piwigo.org/svn/trunk@9549 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r-- | admin/include/languages.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/languages.class.php b/admin/include/languages.class.php index 00338fc1e..c19385412 100644 --- a/admin/include/languages.class.php +++ b/admin/include/languages.class.php @@ -140,7 +140,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; |