Permalink
Browse files

Bug 1733 fixed : (amend) String values must be delimited by single qu…

…otes in queries

forgot on query

git-svn-id: http://piwigo.org/svn/trunk@6544 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
nikrou
nikrou committed Jun 17, 2010
1 parent a14278f commit c14850486a897a0b41f25fa9897fe957ca03d379
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/include/themes.class.php
@@ -284,7 +284,7 @@ function set_default_theme($theme_id)
$query = '
UPDATE '.USER_INFOS_TABLE.'
- SET theme = "'.$theme_id.'"
+ SET theme = \''.$theme_id.'\'
WHERE user_id IN ('.implode(',', $user_ids).')
;';
pwg_query($query);

0 comments on commit c148504

Please sign in to comment.