mirror of
https://github.com/silverstripe/silverstripe-mathspamprotection
synced 2024-10-22 08:05:52 +02:00
MINOR: removed argument from self::is_enabled() in MathSpamProtectorField ln22
It was wrongly pasted there in an earlier commit…
This commit is contained in:
parent
d016d32dcc
commit
40164fd79d
@ -19,7 +19,7 @@ class MathSpamProtectorField extends SpamProtectorField {
|
||||
* @return HTML
|
||||
*/
|
||||
function Field($properties = array()) {
|
||||
if(self::is_enabled($properties = array())) {
|
||||
if(self::is_enabled()) {
|
||||
$attributes = array(
|
||||
'type' => 'text',
|
||||
'class' => 'text ' . ($this->extraClass() ? $this->extraClass() : ''),
|
||||
|
Loading…
Reference in New Issue
Block a user