Index: branches/unlabeled/unlabeled-1.2.2/kernel/units/general/helpers/recursive_helper.php =================================================================== diff -u -N -r5627 -r5628 --- branches/unlabeled/unlabeled-1.2.2/kernel/units/general/helpers/recursive_helper.php (.../recursive_helper.php) (revision 5627) +++ branches/unlabeled/unlabeled-1.2.2/kernel/units/general/helpers/recursive_helper.php (.../recursive_helper.php) (revision 5628) @@ -78,8 +78,6 @@ SET ParentId = '.$dest_category_id.' WHERE '.$id_field.' IN ('.implode(',', $category_ids).')'; $this->Conn->Query($sql); - - $this->Application->StoreVar('PermCache_UpdateRequired', 1); } /** @@ -92,6 +90,7 @@ $backup_category_id = $this->Application->GetVar('m_cat_id'); // 1. clone category + $temp_handler =& $this->Application->recallObject('c_TempHandler', 'kTempTablesHandler'); $temp_handler->BuildTables('c', Array($category_id)); $new_category_id = array_pop( $temp_handler->CloneItems('c', '', Array($category_id)) ); $this->Application->SetVar('m_cat_id', $new_category_id); @@ -116,8 +115,6 @@ } // 3. clone items that have current category as primary - $temp_handler =& $this->Application->recallObject('c_TempHandler', 'kTempTablesHandler'); - $paste_ids = $this->getCategoryItems($category_id, true); foreach ($paste_ids as $item_prefix => $resource_ids) {