Index: trunk/kernel/include/category.php =================================================================== diff -u -r875 -r889 --- trunk/kernel/include/category.php (.../category.php) (revision 875) +++ trunk/kernel/include/category.php (.../category.php) (revision 889) @@ -44,7 +44,22 @@ DeleteTagCache("m_itemcount","Category%"); DeleteTagCache("m_list_cats","",$env); } + + function DetectChanges($name, $value) + { + global $objSession; + //print_pre($_POST); + if ($this->Data[$name] != $value) { + //echo "$name Modified tt ".$this->Data[$name]." tt $value
"; + if (!stristr($name, 'Modif') && !stristr($name, 'Created')) { + if ($objSession->GetVariable("HasChanges") != 1) { + $objSession->SetVariable("HasChanges", 2); + } + } + } + } + function Delete() {