MINOR: removed argument from self::is_enabled() in MathSpamProtectorField ln22

It was wrongly pasted there in an earlier commit…
This commit is contained in:
martimiz 2012-07-10 15:10:36 +02:00
parent d016d32dcc
commit 40164fd79d

View File

@ -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() : ''),