? 145733-enable-cookies-d7.patch
? 233807-navigational-links-on-404.patch
Index: includes/menu.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/menu.inc,v
retrieving revision 1.327
diff -u -p -r1.327 menu.inc
--- includes/menu.inc	1 Jun 2009 22:07:08 -0000	1.327
+++ includes/menu.inc	5 Jun 2009 18:46:27 -0000
@@ -1386,8 +1386,13 @@ function menu_navigation_links($menu_nam
     return array();
   }
 
-  // Get the menu hierarchy for the current page.
-  $tree = menu_tree_page_data($menu_name);
+  // Get the menu hierarchy for the current page. If the page doesn't exist, get the entire menu heirarchy.
+  if (menu_get_item()) {
+    $tree = menu_tree_page_data($menu_name);
+  }
+  else {
+    $tree = menu_tree_all_data($menu_name);
+  }
 
   // Go down the active trail until the right level is reached.
   while ($level-- > 0 && $tree) {
