mirror of
https://github.com/silverstripe/silverstripe-mathspamprotection
synced 2024-10-22 08:05:52 +02:00
Merge pull request #21 from dnadesign/FixToFieldType
fix to mathspamprotector field
This commit is contained in:
commit
bd581c7f7c
@ -146,4 +146,8 @@ class MathSpamProtectorField extends TextField {
|
|||||||
|
|
||||||
return $numbers[$num];
|
return $numbers[$num];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function Type() {
|
||||||
|
return 'mathspamprotector text';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user