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:
parent
6067c4ef2b
commit
5baa3409e5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue