From 5c5b94e83a11a700b09694af34b1f3e84555ceb5 Mon Sep 17 00:00:00 2001 From: danpros Date: Fri, 19 Feb 2021 15:03:50 +0700 Subject: [PATCH] Always add slash --- system/admin/views/menu.html.php | 2 +- system/includes/functions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/admin/views/menu.html.php b/system/admin/views/menu.html.php index 1a98ae6..211da36 100644 --- a/system/admin/views/menu.html.php +++ b/system/admin/views/menu.html.php @@ -19,7 +19,7 @@ function parseMenus($menus) { } function parseMenu($menu) { - $li = '
  • '; + $li = '
  • '; $li .= '
    '.$menu->name.'
    '; $li .= 'Delete'; $li .= 'Edit'; diff --git a/system/includes/functions.php b/system/includes/functions.php index bc9cbeb..5271665 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -2021,7 +2021,7 @@ function parseNode($node, $child = null) { } } - $li .= ''.$node->name.''; + $li .= ''.$node->name.''; if (isset($node->children)) { $li .= parseNodes($node->children, true, null); } @@ -2047,7 +2047,7 @@ function parseNode($node, $child = null) { } } - $li .= ''.$node->name.''; + $li .= ''.$node->name.''; if (isset($node->children)) { $li .= parseNodes($node->children, true, null); }