diff options
Diffstat (limited to '')
-rw-r--r-- | admin/cat_modify.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index ff48e8ac4..f058d0f73 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -92,8 +92,8 @@ if (isset($_POST['submit'])) if (isset($_POST['image_order_subcats'])) { $query = ' -UPDATE '.CATEGORIES_TABLE.' SET image_order='.(isset($image_order) ? 'NULL':"'$image_order'").' - WHERE uppercats LIKE "'.$cat_info['uppercats'].',%"'; +UPDATE '.CATEGORIES_TABLE.' SET image_order='.(isset($image_order) ? 'NULL':'\''.$image_order.'\'').' + WHERE uppercats LIKE \''.$cat_info['uppercats'].',%\''; pwg_query($query); } |