Browse files

updated spaces as required by @dereuromark

  • Loading branch information...
1 parent ecddfa3 commit 4dbc7248041e46cd09dc348ef4ecbc77d6f66836 @marcopeg marcopeg committed Oct 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Model/Validator/CakeValidationRule.php
View
4 lib/Cake/Model/Validator/CakeValidationRule.php
@@ -295,14 +295,14 @@ public function process($field, &$data, &$methods) {
* ...
*
*/
- } elseif ( strpos($this->_rule , '::') ){
+ } elseif (strpos($this->_rule ,'::')) {
list($plugin, $class) = pluginSplit($this->_rule);
list($className,$method) = explode('::',$class);
// Contestualize lazy loading to validation repository even into plugins
$location = 'Model/Validation';
- if ( $plugin ) $location = $plugin.'.'.$location;
+ if ( $plugin ) $location = $plugin . '.' . $location;
// Lazy loading and method call
App::uses($className, $location);

0 comments on commit 4dbc724

Please sign in to comment.