Index: branches/5.2.x/units/polls/poll_eh.php =================================================================== diff -u -r15060 -r15133 --- branches/5.2.x/units/polls/poll_eh.php (.../poll_eh.php) (revision 15060) +++ branches/5.2.x/units/polls/poll_eh.php (.../poll_eh.php) (revision 15133) @@ -1,6 +1,6 @@ getObject(); /* @var $object kDBItem */ @@ -89,7 +89,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(kEvent &$event) + protected function OnBeforeItemCreate(kEvent $event) { parent::OnBeforeItemCreate($event); @@ -104,7 +104,7 @@ * * @param kEvent $event */ - function OnMakeVote(&$event) + function OnMakeVote($event) { $object =& $event->getObject($this->Application->GetVar('poll_id')); /* @var $object kDBItem */ @@ -157,7 +157,7 @@ * @return void * @access protected */ - protected function OnAfterItemDelete(kEvent &$event) + protected function OnAfterItemDelete(kEvent $event) { parent::OnAfterItemDelete($event);