diff --git a/mail_edit.module b/mail_edit.module
index 670ce50..0c4bd24 100755
--- a/mail_edit.module
+++ b/mail_edit.module
@@ -204,7 +204,7 @@ function _mail_edit_module_load_include($name_or_ext, $ext = NULL) {
  * @param $item
  */
 function mail_edit_menu_breadcrumb_alter(&$active_trail, $item) {
-  if ($item['path'] == 'admin/config/system/mail-edit/%/%') {
+  if (isset($item['path']) && $item['path'] == 'admin/config/system/mail-edit/%/%') {
     $active_trail = array($active_trail[0]);
     foreach ($item['map'] as $i) {
       $path = (!isset($path) ? $i : $path . '/' . $i);
