diff options
Diffstat (limited to '')
-rw-r--r-- | admin/include/themes.class.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php index 73a9e149e..7601f6d60 100644 --- a/admin/include/themes.class.php +++ b/admin/include/themes.class.php @@ -175,11 +175,11 @@ SELECT } } - $query = " + $query = ' DELETE - FROM ".THEMES_TABLE." - WHERE id= '".$theme_id."' -;"; + FROM '.THEMES_TABLE.' + WHERE id= \''.$theme_id.'\' +;'; pwg_query($query); break; @@ -300,7 +300,7 @@ SELECT $clauses = array(); if (!empty($id)) { - $clauses[] = "id = '".$id."'"; + $clauses[] = 'id = \''.$id.'\''; } if (count($clauses) > 0) { |