app/library/Navigation/Node.php: minor change.
This commit is contained in:
parent
cc08ca1658
commit
ca27834a56
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Reference in a new issue