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;