mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
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:
parent
c75d20b2ef
commit
77871a54b7
@ -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'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user