mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
Merge pull request #116 from creative-commoners/pulls/5/protect-hooks
API Set extension hook implementation visibility to protected
This commit is contained in:
commit
748184f8b7
@ -127,7 +127,7 @@ class EditableSpamProtectionField extends EditableFormField
|
|||||||
*
|
*
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public function onBeforeWrite()
|
protected function onBeforeWrite()
|
||||||
{
|
{
|
||||||
$fieldMap = json_decode($this->SpamFieldSettings ?? '', true);
|
$fieldMap = json_decode($this->SpamFieldSettings ?? '', true);
|
||||||
if (empty($fieldMap)) {
|
if (empty($fieldMap)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user