From 8473d6a66093d44e2067865cc9ba3a2a6af76bf5 Mon Sep 17 00:00:00 2001 From: ADmad Date: Wed, 26 Oct 2011 13:00:52 +0530 Subject: [PATCH] Fixed code formatting --- lib/Cake/Controller/Controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Controller.php b/lib/Cake/Controller/Controller.php index e6069e9ef..1303b7cc6 100644 --- a/lib/Cake/Controller/Controller.php +++ b/lib/Cake/Controller/Controller.php @@ -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); }