Index: branches/5.2.x/units/private_message_body/private_message_body_eh.php =================================================================== diff -u -N -r15148 -r16515 --- branches/5.2.x/units/private_message_body/private_message_body_eh.php (.../private_message_body_eh.php) (revision 15148) +++ branches/5.2.x/units/private_message_body/private_message_body_eh.php (.../private_message_body_eh.php) (revision 16515) @@ -1,6 +1,6 @@ getObject(); - /* @var $object kDBItem */ // set post options + /** @var PostHelper $post_helper */ $post_helper = $this->Application->recallObject('PostHelper'); - /* @var $post_helper PostHelper */ $options_map = $post_helper->getOptionsMap(); $post_options = $object->GetDBField('Options'); @@ -54,8 +54,8 @@ { parent::OnBeforeItemDelete($event); + /** @var kDBItem $object */ $object = $event->getObject(); - /* @var $object kDBItem */ if ( $object->GetDBField('ReferenceCount') > 0 ) { $event->status = kEvent::erFAIL;