Index: trunk/core/units/general/cat_dbitem.php =================================================================== diff -u -r2262 -r2337 --- trunk/core/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 2262) +++ trunk/core/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 2337) @@ -8,6 +8,7 @@ $this->SetDBField('ResourceId', $this->Application->NextResourceId()); $this->SetDBField('Modified', mktime()); + $this->SetDBField('CreatedById', $this->Application->GetVar('u_id')); $ret = parent::Create(); if($ret) @@ -30,6 +31,7 @@ { $this->VirtualFields['ResourceId'] = true; $this->SetDBField('Modified', mktime()); + $this->SetDBField('ModifiedById', $this->Application->GetVar('u_id')); return parent::Update($id); }