mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed code formatting
This commit is contained in:
parent
5a5a542a71
commit
8473d6a660
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue