Index: trunk/kernel/action.php =================================================================== diff -u -N -r5289 -r5431 --- trunk/kernel/action.php (.../action.php) (revision 5289) +++ trunk/kernel/action.php (.../action.php) (revision 5431) @@ -497,19 +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); - - } - } - } - 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"]))