Index: admin_menu.inc
===================================================================
RCS file: /usr/local/cvsroot/cvsr/drupal/code/sites/all/modules/admin_menu/admin_menu.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- admin_menu.inc	23 Jan 2009 06:43:57 -0000	1.2
+++ admin_menu.inc	26 Feb 2009 00:47:59 -0000	1.3
@@ -1,5 +1,5 @@
 <?php
-// $Id: admin_menu.inc,v 1.2 2009-01-23 06:43:57 kpol Exp $
+// $Id: admin_menu.inc,v 1.3 2009-02-26 00:47:59 kpol Exp $
 
 /**
  * The key function that builds the menu links whenever there is a menu rebuild.
@@ -191,7 +191,7 @@ function admin_menu_admin_menu(&$deleted
     unset($deleted['admin/content/node-type/' . $type_url_str . '/edit']);
     // CCK and other modules adding to node types handled here.
     foreach($deleted as $path => $item) {
-      if (strpos($path, $type_path) !== FALSE) {
+      if (strpos($path, $type_path.'/') !== FALSE) {
         // Logically, parent path can never go shorter than $type_path.
         $i = $item['_number_parts'] - 1;
         do {
