From c14850486a897a0b41f25fa9897fe957ca03d379 Mon Sep 17 00:00:00 2001 From: nikrou Date: Thu, 17 Jun 2010 14:49:46 +0000 Subject: 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 --- admin/include/themes.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') 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); -- cgit v1.2.3