Index: trunk/core/units/general/cat_tag_processor.php =================================================================== diff -u -N -r8535 -r8546 --- trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8535) +++ trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8546) @@ -188,8 +188,13 @@ // original id found & greather then zero + show original $display_original = isset($params['display_original']) && $params['display_original']; + $owner_field = $this->Application->getUnitOption($this->Prefix, 'OwnerField'); + if (!$owner_field) { + $owner_field = 'CreatedById'; + } + $object =& $this->getObject($params); - $perm_value = $this->PermHelper->ModifyCheckPermission($object->GetDBField('CreatedById'), $object->GetDBField('CategoryId'), $this->Prefix); + $perm_value = $this->PermHelper->ModifyCheckPermission($object->GetDBField($owner_field), $object->GetDBField('CategoryId'), $this->Prefix); return $display_original && ($perm_value == 1) && $this->Application->GetVar($this->Prefix.'.original_id'); }