Index: branches/5.2.x/units/poll_comments/poll_comment_eh.php =================================================================== diff -u -r13839 -r14098 --- branches/5.2.x/units/poll_comments/poll_comment_eh.php (.../poll_comment_eh.php) (revision 13839) +++ branches/5.2.x/units/poll_comments/poll_comment_eh.php (.../poll_comment_eh.php) (revision 14098) @@ -1,6 +1,6 @@ InitHelper($poll_id, 'PollComment', 0); // ResourceId used for SpamControl only if ($spam_helper->InSpamControl()) { - $event->status = erFAIL; + $event->status = kEvent::erFAIL; $object->SetError('CommentText', 'too_frequent', 'lu_error_AlreadyCommented'); return ; } @@ -119,7 +119,7 @@ return; } - if ($event->status == erSUCCESS) { + if ($event->status == kEvent::erSUCCESS) { $event->setRedirectParam('opener', 's'); $event->setRedirectParam('pass', 'm,poll'); $event->redirect = $this->Application->GetVar('success_template');