Browse files

fixed code standards

  • Loading branch information...
1 parent 46fd493 commit afade1f440609843f30d2299f86db4303035ddbb @marcopeg marcopeg committed Oct 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Validator/CakeValidationRule.php
View
2 lib/Cake/Model/Validator/CakeValidationRule.php
@@ -274,7 +274,7 @@ public function process($field, &$data, &$methods) {
$this->_valid = call_user_func_array($methods[$rule], $this->_ruleParams);
} elseif (class_exists('Validation') && method_exists('Validation', $this->_rule)) {
$this->_valid = call_user_func_array(array('Validation', $this->_rule), $this->_ruleParams);
- } elseif (strpos($this->_rule ,'::')) {
+ } elseif (strpos($this->_rule, '::')) {
list($plugin, $class) = pluginSplit($this->_rule);
list($className,$method) = explode('::', $class);
$location = 'Model/Validation';

0 comments on commit afade1f

Please sign in to comment.