#71621 by keve, avoid an undefined variable
parent
2a89ab89f9
commit
9f1450c989
|
@ -853,6 +853,7 @@ function menu_primary_links($start_level = 1, $pid = 0) {
|
|||
}
|
||||
|
||||
$menu = menu_get_menu();
|
||||
$links = array();
|
||||
if ($pid && is_array($menu['visible'][$pid]) && isset($menu['visible'][$pid]['children'])) {
|
||||
$count = 1;
|
||||
foreach ($menu['visible'][$pid]['children'] as $cid) {
|
||||
|
|
Loading…
Reference in New Issue