diff --git a/app/library/Navigation/Node.php b/app/library/Navigation/Node.php index 5f9d420..fb1f6b6 100644 --- a/app/library/Navigation/Node.php +++ b/app/library/Navigation/Node.php @@ -183,11 +183,11 @@ class Node extends Container // Assemble route if set. if (strlen($this->getRoute()) > 0) { - $href = array( + $href = [ 'for' => $this->getRoute(), 'controller' => $this->getController(), 'action' => $this->getAction() - ); + ]; } // Otherwise, use default route. else {