mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
parent
0db3e7aee0
commit
d5ae93c88e
@ -77,7 +77,11 @@ class EditableSpamProtectionField extends EditableFormField
|
|||||||
$protector->setFieldMapping($fieldMapping);
|
$protector->setFieldMapping($fieldMapping);
|
||||||
|
|
||||||
// Generate field
|
// Generate field
|
||||||
return $protector->getFormField($this->Name, $this->Title, null);
|
$field = $protector->getFormField($this->Name, $this->Title, null);
|
||||||
|
|
||||||
|
$this->doUpdateFormField($field);
|
||||||
|
|
||||||
|
return $field;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user