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
This commit is contained in:
Damian Mooyman 2013-04-10 14:52:08 +12:00
parent c75d20b2ef
commit 77871a54b7

View File

@ -17,7 +17,7 @@ class CommentSpamProtection extends Extension {
'Name' => 'author_name', 'Name' => 'author_name',
'CommenterURL' => 'author_url', 'CommenterURL' => 'author_url',
'Comment' => 'post_body', 'Comment' => 'post_body',
'Email' => 'author_email' 'Email' => 'author_mail'
)); ));
} }
} }