BUGFIX: correct mollom field mapping

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103037 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Saophalkun Ponlu 2010-04-18 23:51:23 +00:00 committed by Sam Minnee
parent 219e55ef55
commit 4ee4878dc1

View File

@ -202,7 +202,7 @@ class PageCommentInterface extends RequestHandler {
// Optional Spam Protection.
if(class_exists('SpamProtectorManager')) {
SpamProtectorManager::update_form($form, null, array('Name', 'CommenterURL', 'Comment'));
SpamProtectorManager::update_form($form, null, array('Name' => 'author_name', 'CommenterURL' => 'author_url', 'Comment' => 'post_body'));
self::set_use_ajax_commenting(false);
}