mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +05:30
Update functions.php
This commit is contained in:
parent
f51e1c1f06
commit
eb3ea00382
1 changed files with 1 additions and 1 deletions
|
|
@ -2079,7 +2079,7 @@ function menu($class = null)
|
|||
$json = json_decode(file_get_contents('content/data/menu.json', true));
|
||||
$nodes = json_decode($json);
|
||||
if (empty($nodes)) {
|
||||
get_menu($custom);
|
||||
get_menu($class);
|
||||
} else {
|
||||
$html = parseNodes($nodes, null, $class);
|
||||
libxml_use_internal_errors(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue