Index: trunk/kernel/units/categories/categories_item.php =================================================================== diff -u -r5163 -r5173 --- trunk/kernel/units/categories/categories_item.php (.../categories_item.php) (revision 5163) +++ trunk/kernel/units/categories/categories_item.php (.../categories_item.php) (revision 5173) @@ -5,7 +5,7 @@ function Create($force_id=false, $system_create=false) { if (!$this->Validate()) return false; - + $this->SetDBField('ResourceId', $this->Application->NextResourceId()); $this->SetDBField('CreatedById', $this->Application->GetVar('u_id') ); $this->SetDBField('CreatedOn_date', adodb_mktime() ); @@ -35,7 +35,7 @@ $ret = parent::Update($id, $system_update); return $ret; } - + function buildParentPath() { $parent_id = $this->GetDBField('ParentId');