aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-06-17 14:50:58 +0000
committernikrou <nikrou@piwigo.org>2010-06-17 14:50:58 +0000
commit5baa3409e5d3bedcdce35da97c89bd577561165c (patch)
treec21565d922294d7ed2632405693c035aee757603 /admin
parent6067c4ef2b3c2abd39f16a3bd6445a5f725c00c2 (diff)
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
Diffstat (limited to '')
-rw-r--r--admin/include/themes.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php
index d8e3163c3..73a9e149e 100644
--- a/admin/include/themes.class.php
+++ b/admin/include/themes.class.php
@@ -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);