@@ -501,8 +501,7 @@ |
||
501 | 501 | $method = $this->getRuleValidationMethod($realRuleName); |
502 | 502 | if (method_exists($this, $method)) { |
503 | 503 | call_user_func_array(array($this, $method), array($field, $realRuleName, $paramValue)); |
504 | - } |
|
505 | - else{ |
|
504 | + } else{ |
|
506 | 505 | $this->forceError = true; |
507 | 506 | show_error('Invalid validaton rule "' . $realRuleName . '"'); |
508 | 507 | } |