does not render empty menu
This commit is contained in:
parent
f79b7af69c
commit
27ed8e6db5
|
@ -54,6 +54,8 @@ function render_menu($items, $level_id) {
|
|||
echo '</ul>' . PHP_EOL;
|
||||
}
|
||||
|
||||
if (count($items[0]) > 0) {
|
||||
render_menu($items, 0);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue