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
This commit is contained in:
Sam Minnee 2010-10-04 06:14:17 +00:00
parent ec63a1092f
commit 9c9a42bf89

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);
}