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