aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/themes.class.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-06-17 14:49:46 +0000
committernikrou <nikrou@piwigo.org>2010-06-17 14:49:46 +0000
commitc14850486a897a0b41f25fa9897fe957ca03d379 (patch)
tree04ecdf019fad30cfc0c2ea5cc86ecc27fddc350e /admin/include/themes.class.php
parenta14278f2479529a33afeaf97034164292895b90d (diff)
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
Diffstat (limited to 'admin/include/themes.class.php')
-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);