Commit e5aae411 authored by hass's avatar hass Committed by Colan Schwartz

Issue #2358313: Remove double check_plain on mlid 0 items

parent 1cd84d0f
......@@ -16,7 +16,7 @@ class context_reaction_menu extends context_reaction {
list($menu_name, $mlid) = explode(':', $id);
// Store the title each menu for reference.
if ($mlid == '0') {
$menu_names[$menu_name] = check_plain($title);
$menu_names[$menu_name] = $title;
}
else {
$link = menu_link_load($mlid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment