diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/navigation/site_nav.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php index 1f97ce617..fd4b740b5 100644 --- a/views/default/navigation/site_nav.php +++ b/views/default/navigation/site_nav.php @@ -35,6 +35,9 @@ if ($featured) { } } elseif ($more) { for ($i=0; $i<6; $i++) { + if (!array_key_exists($i, $more)) { + break; + } $info = $more[$i]; $selected = ($info->value->context == $context) ? 'class="selected"' : ''; |