From 4ee4878dc17614d31a931a6c6d9083f0ef9a4d9a Mon Sep 17 00:00:00 2001 From: Saophalkun Ponlu Date: Sun, 18 Apr 2010 23:51:23 +0000 Subject: [PATCH] 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 --- 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 b3dae5e0..23e51121 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); }