diff --git a/system/includes/functions.php b/system/includes/functions.php index bbf08ed..bf144f1 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2037,9 +2037,9 @@ function parseNode($node, $child = null) { $su = parse_url(site_url()); if (empty($child)) { - if (isset($url['host']) && isset($su['host'])) { - if ($url['host'] == $su['host']) { - if (slashUrl($url['path']) == slashUrl($req)) { + if (isset($url['host']) && isset($su['host'])) { + if ($url['host'] == $su['host']) { + if (slashUrl($url['path']) == slashUrl($req)) { $li = '