diff --git a/admin_menu.inc b/admin_menu.inc
index 2eab789..7083b3f 100644
--- a/admin_menu.inc
+++ b/admin_menu.inc
@@ -24,6 +24,9 @@ function admin_menu_tree($menu_name) {
     // Convert named placeholders to anonymous placeholders, since the menu
     // system stores paths using anonymous placeholders.
     $replacements = array_fill_keys(array_keys($data['arguments'][0]), '%');
+    if (is_array($data['parent'])) {
+      dpm($data['parent'], '$data');
+    }
     $data['parent'] = strtr($data['parent'], $replacements);
     $new_map[strtr($path, $replacements)] = $data;
   }
