Index: includes/menu.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/menu.inc,v
retrieving revision 1.319
diff -u -r1.319 menu.inc
--- includes/menu.inc	13 Apr 2009 12:18:52 -0000	1.319
+++ includes/menu.inc	15 Apr 2009 12:56:21 -0000
@@ -2130,9 +2130,9 @@
     $item['menu_name'] = $parent['menu_name'];
   }
   $menu_name = $item['menu_name'];
-  // Menu callbacks need to be in the links table for breadcrumbs, but can't
-  // be parents if they are generated directly from a router item.
-  if (empty($parent['mlid']) || $parent['hidden'] < 0) {
+  // Menu callbacks need to be in the links table for breadcrumbs. But items visible in the tree, may not
+  // have them as parents, so they are displayed correctly.
+  if (empty($parent['mlid']) || ($parent['hidden'] < 0 && $item['hidden'] >= 0)) {
     $item['plid'] =  0;
   }
   else {
