diff options
-rw-r--r-- | admin/include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index 99ebfac62..1395282ad 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -122,7 +122,7 @@ DELETE FROM '.CATEGORIES_TABLE.' $query=' DELETE FROM '.OLD_PERMALINKS_TABLE.' - WHERE cat_id IN ('.implode(',',$cat_ids).')'; + WHERE cat_id IN ('.implode(',',$ids).')'; pwg_query($query); if (isset($counts['del_categories'])) |