Skip to content

Commit

Permalink
Account for page not in navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsafley committed Jan 3, 2024
1 parent 3f3937b commit 377b844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/view/omeka/site/page/show.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ switch ($this->siteSetting('subnav_display')) {
$displaySubnav = false;
break;
default:
$displaySubnav = $this->displayNavigation && $activePage['page']->hasPages();
$displaySubnav = $this->displayNavigation && $activePage && $activePage['page']->hasPages();
}
$showPagePagination = $this->siteSetting('show_page_pagination', true);
?>
Expand Down

0 comments on commit 377b844

Please sign in to comment.