diff --git a/lib/zin/wg/modulemenu/v1.php b/lib/zin/wg/modulemenu/v1.php index 9056366aa1..36f046f62f 100644 --- a/lib/zin/wg/modulemenu/v1.php +++ b/lib/zin/wg/modulemenu/v1.php @@ -24,7 +24,7 @@ class moduleMenu extends wg foreach($children as $child) { - $item = array('key' => $child->id, 'text' => $child->name, 'items' => []); + $item = array('key' => $child->id, 'text' => $child->name, 'url' => $child->url, 'items' => []); $items = $this->buildMenuTree($item['items'], $child->id); if(count($items) !== 0) $item['items'] = $items; else unset($item['items']);