From 77871a54b733401d22e77799921adf73c7741d70 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 10 Apr 2013 14:52:08 +1200 Subject: [PATCH] BUG Fixed incorrect field specification Email spam field (for Mollom, which I presume this extension is targetting) should be author_mail not author_email https://github.com/silverstripe/silverstripe-mollom/blob/master/code/MollomField.php#L28 --- code/extensions/CommentSpamProtection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/extensions/CommentSpamProtection.php b/code/extensions/CommentSpamProtection.php index a0c89bd..3f4ef1d 100644 --- a/code/extensions/CommentSpamProtection.php +++ b/code/extensions/CommentSpamProtection.php @@ -17,7 +17,7 @@ class CommentSpamProtection extends Extension { 'Name' => 'author_name', 'CommenterURL' => 'author_url', 'Comment' => 'post_body', - 'Email' => 'author_email' + 'Email' => 'author_mail' )); } -} \ No newline at end of file +}