From ca27834a564549368eb29d13884f1f99e0077b2a Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 29 Dec 2018 00:41:08 +0100 Subject: [PATCH] app/library/Navigation/Node.php: minor change. --- app/library/Navigation/Node.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {