Commit efdd76ad authored by Dries's avatar Dries
Browse files

- Patch #22416: fixed typo that prevented menu item descriptions from showing up in links.

parent 12ea785b
...@@ -604,7 +604,7 @@ function theme_menu_item($mid, $children = '', $leaf = TRUE) { ...@@ -604,7 +604,7 @@ function theme_menu_item($mid, $children = '', $leaf = TRUE) {
* @ingroup themeable * @ingroup themeable
*/ */
function theme_menu_item_link($item, $link_item) { function theme_menu_item_link($item, $link_item) {
return l($item['title'], $link_item['path'], array_key_exists('description', $item) ? array('title' => $items['description']) : array()); return l($item['title'], $link_item['path'], array_key_exists('description', $item) ? array('title' => $item['description']) : array());
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment