Index: trunk/kernel/action.php =================================================================== diff -u -r203 -r214 --- trunk/kernel/action.php (.../action.php) (revision 203) +++ trunk/kernel/action.php (.../action.php) (revision 214) @@ -22,7 +22,7 @@ { if( trim($value) == '' ) $value = ' '; $src = isset($_GET[$key]) ? 'GE' : (isset($_POST[$key]) ? 'PO' : (isset($_COOKIE[$key]) ? 'CO' : '?') ); - echo ''.$src.''.$key.''.$value.''; + echo ''.$src.''.$key.''.print_r($value, true).''; } echo ''; } @@ -715,6 +715,15 @@ $html = (int)$_POST["html_enable"]; $objEditItems = new clsCatList(); $objEditItems->SourceTable = $objSession->GetEditTable("Category"); + + // check if name of cat isn't changed: begin + $original_cats = new clsCatList(); + $original_cat = $original_cats->GetItemByField('CategoryId', $_POST['CategoryId']); + if( $original_cat->Get('Name') != $_POST['cat_name'] ) + $objSession->SetVariable('PermCache_UpdateRequired', 1); + unset($original_cat, $original_cats); + // check if name of cat isn't changed: end + $cat = $objEditItems->Edit_Category($_POST["CategoryId"],inp_escape($_POST["cat_name"],$html), inp_escape($_POST["cat_desc"],$html), $CreatedOn, $cat_pick, $Status, $Hot, $New, $Pop, $_POST["Priority"], $_POST["meta_keywords"], $_POST["meta_desc"]); $objCustomEdit = new clsCustomDataList($objSession->GetEditTable("CustomMetaData"));