aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-03-06 08:59:48 +0000
committerpatdenice <patdenice@piwigo.org>2011-03-06 08:59:48 +0000
commit224005820d48742768ec5cbbfb245026198e428e (patch)
treee1964385976deaccb3f9fb49b57bc7d447a8649d /admin
parent1774bd1b98790761a99d422cf0e6e7cafb4c339c (diff)
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
Diffstat (limited to 'admin')
-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 d9537bbdd..3344c1e30 100644
--- a/admin/include/languages.class.php
+++ b/admin/include/languages.class.php
@@ -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;