Bug 1733 fixed : merge from trunk

String values must be delimited by single quotes in queries
Forgot one query

git-svn-id: http://piwigo.org/svn/branches/2.1@6545 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou 2010-06-17 14:50:58 +00:00
parent 6067c4ef2b
commit 5baa3409e5

View file

@ -284,7 +284,7 @@ SELECT
$query = '
UPDATE '.USER_INFOS_TABLE.'
SET theme = "'.$theme_id.'"
SET theme = \''.$theme_id.'\'
WHERE user_id IN ('.implode(',', $user_ids).')
;';
pwg_query($query);