aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menu.php b/include/menu.php
index 2b61ebd34..d20df1d6e 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -86,7 +86,7 @@ function menu_render($menu, $class='', $edit = false, $var = array()) {
for($x = 0; $x < count($menu['items']); $x ++) {
if(in_array($menu['items'][$x]['mitem_link'], $menu_names)) {
$m = menu_fetch($menu['items'][$x]['mitem_link'], $channel_id, get_observer_hash());
- $submenu = menu_render($m, 'dropdown-menu', $edit = false, $var = array('wrap' => 'none'));
+ $submenu = menu_render($m, 'dropdown-menu', $edit = false, array('wrap' => 'none'));
$menu['items'][$x]['submenu'] = $submenu;
}