mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Bug 1733 fixed : (amend) String values must be delimited by single quotes in queries
forgot on query git-svn-id: http://piwigo.org/svn/trunk@6544 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user