aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2007-03-07 23:15:39 +0000
committerplegall <plg@piwigo.org>2007-03-07 23:15:39 +0000
commit246106e83ff6a639e8c04cfd52ec6e5e19697d85 (patch)
tree20e264fbc69549920d825d0e03e3dbec436b3b55
parentc813e43f787bc89fefc86b3a092fb1f3872394f4 (diff)
Bug fixed: in delete_categories function, the deletion on #old_permalinks
query was using a wrong variable. git-svn-id: http://piwigo.org/svn/trunk@1879 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/include/functions.php2
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']))