Skip to content

Commit

Permalink
Changes for #25
Browse files Browse the repository at this point in the history
  • Loading branch information
Eworm committed Jun 24, 2019
1 parent fc278ec commit af55742
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
4 changes: 3 additions & 1 deletion BigKahuna/BigKahunaTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ public function index()
{
// Get the pages from storage and return proper html
$pages = $this->storage->getJSON($this->getParam('menu'));
return $this->getItems($pages);
if ($pages) {
return $this->getItems($pages);
}
}

/**
Expand Down
Loading

0 comments on commit af55742

Please sign in to comment.