From 8520cd1bdbcc144ad543afbded2f016b3ed1c898 Mon Sep 17 00:00:00 2001 From: Sonny Le Date: Tue, 12 Nov 2024 15:19:46 +0700 Subject: [PATCH] Fix issue if $logo value is not null --- framework/library/astroid/Component/Menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/library/astroid/Component/Menu.php b/framework/library/astroid/Component/Menu.php index a905201e..055f0994 100644 --- a/framework/library/astroid/Component/Menu.php +++ b/framework/library/astroid/Component/Menu.php @@ -145,7 +145,7 @@ public static function getMenu($menutype = '', $nav_class = [], $logo = null, $l } } - if (count($list) == 1 && $logo_position == 1 && $logo !== null) { + if (count($list) == 1 && $logo_position == 1 && !empty($logo)) { echo '';