fix to mathspamprotector field so that the type returns the same format as other text fields, e.g EmailField

This commit is contained in:
John Milmine 2014-06-11 11:54:29 +12:00
parent 0e916101e2
commit 88b0f31f1a
1 changed files with 4 additions and 0 deletions

View File

@ -146,4 +146,8 @@ class MathSpamProtectorField extends TextField {
return $numbers[$num];
}
public function Type() {
return 'mathspamprotector text';
}
}