From d7404e345aa88c93a1aa7d323b27ef540215fc23 Wed, 21 Dec 2011 01:12:35 +0100
From: casey <caseynotane@live.com>
Date: Wed, 21 Dec 2011 01:09:32 +0100
Subject: [PATCH] missing argument

diff --git a/modules/menu/menu.module b/modules/menu/menu.module
index c914867..d7dc4bc 100644
--- a/modules/menu/menu.module
+++ b/modules/menu/menu.module
@@ -614,7 +614,7 @@ function menu_form_node_form_alter(&$form, $form_state) {
   // menu_parent_options() is goofy and can actually handle either a menu link
   // or a node type both as second argument. Pick based on whether there is
   // a link already (menu_node_prepare() sets mlid default to 0).
-  $options = menu_parent_options(menu_get_menus(), $link['mlid'] ? $link : $type);
+  $options = menu_parent_options(menu_get_menus(), $link['mlid'] ? $link : $type, $type);
   // If no possible parent menu items were found, there is nothing to display.
   if (empty($options)) {
     return;
