mirror of
https://github.com/silverstripe/silverstripe-mathspamprotection
synced 2024-10-22 08:05:52 +02:00
fix to mathspamprotector field so that the type returns the same format as other text fields, e.g EmailField
This commit is contained in:
parent
0e916101e2
commit
88b0f31f1a
@ -146,4 +146,8 @@ class MathSpamProtectorField extends TextField {
|
||||
|
||||
return $numbers[$num];
|
||||
}
|
||||
|
||||
public function Type() {
|
||||
return 'mathspamprotector text';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user