### Eclipse Workspace Patch 1.0
#P drupal-6-dev
Index: includes/menu.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/menu.inc,v
retrieving revision 1.255.2.20
diff -u -r1.255.2.20 menu.inc
--- includes/menu.inc 23 Sep 2008 10:22:35 -0000  1.255.2.20
+++ includes/menu.inc 4 Oct 2008 06:19:38 -0000
@@ -2315,6 +2315,18 @@
             $item['access arguments'] = $parent['access arguments'];
           }
         }
+        // We need to check for the presence of any required parental load arguments.
+        // These will need to be serialized into the item's load_functions.
+        if (!isset($item['load arguments']) && isset($parent['load arguments'])) {
+          // A flag to prevent further checks on this field.
+          $item['load arguments'] = $parent['load arguments'];
+          // Copy the parental load arguments into the item's load_functions.
+          $load_functions = array();
+          foreach(unserialize($item['load_functions']) as $index => $function) {
+            $load_functions[$index][$function] = $parent['load arguments'];
+          }
+          $item['load_functions'] = serialize($load_functions);
+        }
         // Same for page callbacks.
         if (!isset($item['page callback']) && isset($parent['page callback'])) {
           $item['page callback'] = $parent['page callback'];
