Index: branches/unlabeled/unlabeled-1.120.2/kernel/action.php =================================================================== diff -u -r5295 -r5401 --- branches/unlabeled/unlabeled-1.120.2/kernel/action.php (.../action.php) (revision 5295) +++ branches/unlabeled/unlabeled-1.120.2/kernel/action.php (.../action.php) (revision 5401) @@ -497,20 +497,16 @@ case "m_cat_delete": if($ro_perm) break; - if($objSession->HasCatPermission("CATEGORY.DELETE",$objCatList->CurrentCategoryID())) - { - if(isset($_POST["catlist"])) - { - if(is_array($_POST["catlist"])) - foreach($_POST["catlist"] as $catid) - { - $objCatList->Delete_Category($catid); - - } - $application->StoreVar('refresh_tree', 1); - } - } - break; + if(isset($_POST["catlist"])) + { + if(is_array($_POST["catlist"])) + foreach ($_POST["catlist"] as $catid) { + $objCatList->Delete_Category($catid, true); + } + $application->StoreVar('refresh_tree', 1); + } + break; + case "m_cat_cut": if($ro_perm) break; if(isset($_POST["catlist"]))