Index: admin_menu.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/admin_menu/admin_menu.inc,v
retrieving revision 1.11.2.20.2.1
diff -u -p -r1.11.2.20.2.1 admin_menu.inc
--- admin_menu.inc	13 Feb 2009 00:31:11 -0000	1.11.2.20.2.1
+++ admin_menu.inc	26 Feb 2009 04:37:28 -0000
@@ -188,10 +188,10 @@ function admin_menu_admin_menu(&$deleted
       'parent_path' => 'admin/content/types',
       'options' => array('t' => array('!content-type' => $type->name)),
     );
-    unset($deleted['admin/content/node-type/' . $type_url_str . '/edit']);
+    unset($deleted[$type_path . '/edit']);
     // CCK and other modules adding to node types handled here.
     foreach($deleted as $path => $item) {
-      if (strpos($path, $type_path) !== FALSE) {
+      if ($path === $type_path || strpos($path, $type_path . '/') === 0) {
         // Logically, parent path can never go shorter than $type_path.
         $i = $item['_number_parts'] - 1;
         do {
