From eb3ea0038206c06eba67d0a638429dec52ec6cb8 Mon Sep 17 00:00:00 2001 From: danpros Date: Mon, 22 Feb 2021 11:59:47 +0700 Subject: [PATCH] Update functions.php --- system/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 5a75a5e..1c90943 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -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);