From be54586c059abd1e6addfdd87abf864e5d8ee7bd Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 19 Jan 2026 15:58:36 +0800 Subject: [PATCH] * [bug#69025,done,0.2h] fix the values are the same but the types are different. --- lib/zin/wg/modulemenu/v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/modulemenu/v1.php b/lib/zin/wg/modulemenu/v1.php index 7b662e3573..b4d148f8d3 100644 --- a/lib/zin/wg/modulemenu/v1.php +++ b/lib/zin/wg/modulemenu/v1.php @@ -95,7 +95,7 @@ class moduleMenu extends wg $items = $this->buildMenuTree($child->id); if($items) $item['items'] = $items; - if($child->id === $activeKey || $child->id === 'product-' . $activeKey) + if((string)$child->id === (string)$activeKey || $child->id === 'product-' . $activeKey) { $itemKey = $this->prop('checkbox') ? 'checked' : 'selected'; $item[$itemKey] = true;