- Patch #69270 by gordon: add query to the menu items. Required for CiviCRM integration.

5.x
Dries Buytaert 2006-06-17 15:21:44 +00:00
parent f04b4754f0
commit 1a68f48c30
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ function theme_menu_item($mid, $children = '', $leaf = TRUE) {
* @ingroup themeable
*/
function theme_menu_item_link($item, $link_item) {
return l($item['title'], $link_item['path'], isset($item['description']) ? array('title' => $item['description']) : array());
return l($item['title'], $link_item['path'], isset($item['description']) ? array('title' => $item['description']) : array(), isset($item['query']) ? $item['query'] : NULL);
}
/**