Commit 06dbf309 authored by Dries's avatar Dries
Browse files

- Patch #372306 by moshe: add tag to menu_get_item() query.

parent 1778c5cc
......@@ -366,6 +366,7 @@ function menu_get_item($path = NULL, $router_item = NULL) {
->condition('path', $ancestors, 'IN')
->orderBy('fit', 'DESC')
->range(0, 1)
->addTag('menu_get_item')
->execute()->fetchAssoc();
if ($router_item) {
$map = _menu_translate($router_item, $original_map);
......
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