From 246106e83ff6a639e8c04cfd52ec6e5e19697d85 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 7 Mar 2007 23:15:39 +0000 Subject: 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 --- admin/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include') 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'])) -- cgit v1.2.3