diff --git a/includes/menu.inc b/includes/menu.inc index 1e8817ac6bbd4d2e3d20aed547c17df17279b267..5064d2f6cb29178a376eb43dbd35cfa57e969ca9 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -652,14 +652,14 @@ function _menu_link_translate(&$item) { _menu_item_localize($item, $map, TRUE); } - + // Allow other customizations - e.g. adding a page-specific query string to the // options array. For performance reasons we only invoke this hook if the link // has the 'alter' flag set in the options array. if (!empty($item['options']['alter'])) { drupal_alter('translated_menu_link', $item, $map); } - + return $map; } diff --git a/modules/system/system.module b/modules/system/system.module index 329cc03e3f0ba66367d77f002d3751976a0d10cf..4c370765982425435bef8ed8c7bab001348d5cd2 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1639,6 +1639,7 @@ function system_send_email_action($object, $context) { case 'comment': $comment = $context['comment']; $node = node_load($comment->nid); + break; case 'user': // Because this is not an action of type 'user' the user // object is not passed as $object, but it will still be available