From 99634e035b79b58beceae9bed418add6f03bdc7a Mon Sep 17 00:00:00 2001 From: patdenice Date: Sun, 6 Mar 2011 08:58:33 +0000 Subject: 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 --- admin/include/languages.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3