Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 566f280

Browse files
Revert "Minor tweak"
This reverts commit de6aa13.
1 parent de6aa13 commit 566f280

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Navigation.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ public function render($mainname = 'default', $barname = false, array $data = ar
169169
// get the nav bar arrays
170170
$mainnav = $this->getMain($mainname);
171171
if ($barname) {
172-
if (empty($barnav = $this->getBar($barname))) {
172+
$barnav = $this->getBar($barname);
173+
if (empty($barnav)) {
173174
$barnav = false;
174175
}
175176
} else {

0 commit comments

Comments
 (0)