Merge pull request #3848 from LudiscapeXApi/patch-9

$navigation_info is null
pull/3902/head
Julio Montoya 4 years ago committed by GitHub
commit fd1d83a504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      main/inc/lib/userportal.lib.php

@ -1007,6 +1007,8 @@ class IndexManager
// Tabs that are deactivated are added here.
if (!empty($this->tpl->menu_navigation)) {
foreach ($this->tpl->menu_navigation as $section => $navigation_info) {
if (!empty($navigation_info)) {
$items[] = [
'icon' => null,
'link' => $navigation_info['url'],
@ -1014,6 +1016,7 @@ class IndexManager
];
}
}
}
return $items;
}

Loading…
Cancel
Save