Browse Source

Update functions.php

pull/440/head v2.7.7
danpros 4 years ago
parent
commit
eb3ea00382
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/includes/functions.php

+ 1
- 1
system/includes/functions.php View File

@ -2079,7 +2079,7 @@ function menu($class = null)
$json = json_decode(file_get_contents('content/data/menu.json', true)); $json = json_decode(file_get_contents('content/data/menu.json', true));
$nodes = json_decode($json); $nodes = json_decode($json);
if (empty($nodes)) { if (empty($nodes)) {
get_menu($custom);
get_menu($class);
} else { } else {
$html = parseNodes($nodes, null, $class); $html = parseNodes($nodes, null, $class);
libxml_use_internal_errors(true); libxml_use_internal_errors(true);


Loading…
Cancel
Save