From 40164fd79d6f2e60a391280cc1ceeb9b61e2181e Mon Sep 17 00:00:00 2001 From: martimiz Date: Tue, 10 Jul 2012 15:10:36 +0200 Subject: [PATCH] MINOR: removed argument from self::is_enabled() in MathSpamProtectorField ln22 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was wrongly pasted there in an earlier commit… --- code/MathSpamProtectorField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/MathSpamProtectorField.php b/code/MathSpamProtectorField.php index bbf54af..91bdcf0 100644 --- a/code/MathSpamProtectorField.php +++ b/code/MathSpamProtectorField.php @@ -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() : ''),