diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 0aab82524..e9e738f44 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -1262,7 +1262,7 @@ function menu_local_tasks($level = 0, $return_root = FALSE) { if ($item['type'] == MENU_DEFAULT_LOCAL_TASK) { // Find the first parent which is not a default local task. for ($p = $item['tab_parent']; $tasks[$p]['type'] == MENU_DEFAULT_LOCAL_TASK; $p = $tasks[$p]['tab_parent']); - $link = theme('menu_item_link', array('title' => $item['title'], 'href' => $tasks[$p]['href'])); + $link = theme('menu_item_link', array('href' => $tasks[$p]['href']) + $item); $tabs_current .= theme('menu_local_task', $link, TRUE); $next_path = $item['path']; } @@ -1294,7 +1294,7 @@ function menu_local_tasks($level = 0, $return_root = FALSE) { if ($item['type'] == MENU_DEFAULT_LOCAL_TASK) { // Find the first parent which is not a default local task. for ($p = $item['tab_parent']; $tasks[$p]['type'] == MENU_DEFAULT_LOCAL_TASK; $p = $tasks[$p]['tab_parent']); - $link = theme('menu_item_link', array('title' => $item['title'], 'href' => $tasks[$p]['href'])); + $link = theme('menu_item_link', array('href' => $tasks[$p]['href']) + $item); if ($item['path'] == $router_item['path']) { $root_path = $tasks[$p]['path']; } |