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
This commit is contained in:
plegall 2007-03-07 23:15:39 +00:00
commit 246106e83f

View file

@ -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']))