From 13d7b45ee7d17c7411f591f777f5159975c5bc70 Mon Sep 17 00:00:00 2001 From: danpros Date: Tue, 30 Mar 2021 16:37:17 +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 9bbbe20..bbf08ed 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2037,7 +2037,7 @@ function parseNode($node, $child = null) { $su = parse_url(site_url()); if (empty($child)) { - if (isset($url['host'])) { + if (isset($url['host']) && isset($su['host'])) { if ($url['host'] == $su['host']) { if (slashUrl($url['path']) == slashUrl($req)) { $li = '