Index: branches/5.2.x/units/poll_comments/poll_comment_eh.php =================================================================== diff -u -N -r15133 -r15140 --- branches/5.2.x/units/poll_comments/poll_comment_eh.php (.../poll_comment_eh.php) (revision 15133) +++ branches/5.2.x/units/poll_comments/poll_comment_eh.php (.../poll_comment_eh.php) (revision 15140) @@ -1,6 +1,6 @@ Application->recallObject('SpamHelper'); + $spam_helper = $this->Application->recallObject('SpamHelper'); /* @var $spam_helper SpamHelper */ $spam_helper->InitHelper($poll_id, 'PollComment', 0); // ResourceId used for SpamControl only @@ -146,7 +146,7 @@ parent::OnAfterItemCreate($event); if ( !$this->Application->isAdminUser ) { - $spam_helper =& $this->Application->recallObject('SpamHelper'); + $spam_helper = $this->Application->recallObject('SpamHelper'); /* @var $spam_helper SpamHelper */ $object =& $event->getObject();