Fixed code formatting

This commit is contained in:
ADmad 2011-10-26 13:00:52 +05:30
parent 5a5a542a71
commit 8473d6a660

View file

@ -878,7 +878,8 @@ class Controller extends Object {
list($plugin, $className) = pluginSplit($model);
$this->request->params['models'][$className] = compact('plugin', 'className');
}
} if (!empty($this->modelClass) && ($this->uses === false || $this->uses === array())) {
}
if (!empty($this->modelClass) && ($this->uses === false || $this->uses === array())) {
$this->request->params['models'][$this->modelClass] = array('plugin' => $this->plugin, 'className' => $this->modelClass);
}