diff --git a/lib/zin/wg/dropdown/v1.php b/lib/zin/wg/dropdown/v1.php index 5f417ca9f7..e613ae4494 100644 --- a/lib/zin/wg/dropdown/v1.php +++ b/lib/zin/wg/dropdown/v1.php @@ -125,7 +125,6 @@ class dropdown extends wg $items[$index]['icon'] = 'icon-' . $item['icon']; } - if(!is_array($menuProps)) $menuProps = array(); $menuProps['items'] = $items; $menu = zui::dropdown @@ -138,7 +137,6 @@ class dropdown extends wg 'strategy' => $strategy, 'arrow' => $arrow, 'flip' => $flip, - 'id' => $id, 'offset' => $offset, 'target' => $target, 'className' => $menuClass,