aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-03-06 08:58:33 +0000
committerpatdenice <patdenice@piwigo.org>2011-03-06 08:58:33 +0000
commit99634e035b79b58beceae9bed418add6f03bdc7a (patch)
tree6ecb10540055fa123db91e4e1b9b1503d5f0a389
parentc2a537318436d7f80401af3c68f1bcae24a5274c (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
-rw-r--r--admin/include/languages.class.php2
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;