Merge branch release/22.0.beta of zentao/zentaopms (#13376)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user