projects
/
project/context.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2854e9c
)
Adding additional check for navigation link trails for existence of active menu item
author
young hahn
Mon, 23 Feb 2009 17:56:13 +0000 (17:56 +0000)
committer
young hahn
Mon, 23 Feb 2009 17:56:13 +0000 (17:56 +0000)
context_ui/context_ui.module
patch
|
blob
|
blame
|
history
diff --git
a/context_ui/context_ui.module
b/context_ui/context_ui.module
index
e1273fc
..
8002dfd
100644
(file)
--- a/
context_ui/context_ui.module
+++ b/
context_ui/context_ui.module
@@
-1423,7
+1423,7
@@
function context_ui_menu_navigation_links($menu_name, $level = 0) {
// Retrieve the first active menu path found.
foreach (context_ui_active_contexts() as $context) {
- if (isset($context->menu) && !empty($context->menu)) {
+ if (isset($context->menu) && !empty($context->menu) && menu_get_item($context->menu)) {
menu_set_active_item($context->menu);
break;
}