From 9c9a42bf89a205de6c11ec567401b867fc9d0612 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 4 Oct 2010 06:14:17 +0000 Subject: [PATCH] BUGFIX: correct mollom field mapping (from r103037) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111658 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/sitefeatures/PageCommentInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sitefeatures/PageCommentInterface.php b/code/sitefeatures/PageCommentInterface.php index a66ed7c7..0f278d9f 100755 --- a/code/sitefeatures/PageCommentInterface.php +++ b/code/sitefeatures/PageCommentInterface.php @@ -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); }