From 1a68f48c30cc02030d2a0e1035bb5b70c82b7816 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sat, 17 Jun 2006 15:21:44 +0000
Subject: [PATCH] - Patch #69270 by gordon: add query to the menu items. 
 Required for CiviCRM integration.

---
 includes/menu.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/menu.inc b/includes/menu.inc
index 940f61a7d2f9..0b61279ea34a 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -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);
 }
 
 /**
-- 
GitLab