c595e730d6f116e20b5c70ee58d79e3a31beea93

Author: AD7six

Date: 2009-04-16 14:00:16 +0200

correcting redirect url for root node

diff --git a/controllers/nodes_controller.php b/controllers/nodes_controller.php index efb2735..54d904e 100644 --- a/controllers/nodes_controller.php +++ b/controllers/nodes_controller.php @@ -688,7 +688,7 @@ class NodesController extends AppController { $this->redirect(am(array('action' => 'complete'), $this->passedArgs)); } if (!$nodeId || $nodeId == Configure::read('Site.homeNode')) { - $this->redirect(array('index'), null, true, true); + return $this->redirect(array('action' => 'index'), null, true, true); } $this->Node->id = $this->currentNode; $depth = $this->Node->field('Node.depth');