Index: branches/5.1.x/units/poll_comments/poll_comments_config.php =================================================================== diff -u -N -r14251 -r14441 --- branches/5.1.x/units/poll_comments/poll_comments_config.php (.../poll_comments_config.php) (revision 14251) +++ branches/5.1.x/units/poll_comments/poll_comments_config.php (.../poll_comments_config.php) (revision 14441) @@ -1,6 +1,6 @@ Array ( - 'PerPage' => 'poll_Perpage_Comments', - 'CommentDelayInterval' => 'poll_CommentDelay_Value', - 'CommentDelayValue' => 'poll_CommentDelay_Interval', - ), - 'Grids' => Array ( 'Default' => Array ( 'Icons' => Array ( Index: branches/5.1.x/units/poll_comments/poll_comment_eh.php =================================================================== diff -u -N -r14251 -r14441 --- branches/5.1.x/units/poll_comments/poll_comment_eh.php (.../poll_comment_eh.php) (revision 14251) +++ branches/5.1.x/units/poll_comments/poll_comment_eh.php (.../poll_comment_eh.php) (revision 14441) @@ -1,6 +1,6 @@ getObject(); - $config_mapping = $this->Application->getUnitOption($event->Prefix, 'ConfigMapping'); - $comment_settings = $config_mapping['CommentDelayValue'].':'.$config_mapping['CommentDelayInterval']; + $comment_settings = 'poll_CommentDelay_Value:poll_CommentDelay_Interval'; $spam_helper->InitHelper($object->GetDBField('PollId'), 'PollComment', $comment_settings); $spam_helper->AddToSpamControl(); }