Commit de35da97 authored by alexpott's avatar alexpott
Browse files

Issue #2198571 by Xano: must not unset MenuLink::menu_name.

parent 880f697a
......@@ -1667,8 +1667,8 @@ function menu_link_rebuild_defaults() {
$children[$link['parent']][$machine_name] = $machine_name;
$menu_link->parent = $link['parent'];
if (empty($link['menu_name'])) {
// Unset the default menu name so it's populated from the parent.
// Reset the default menu name so it is populated from the parent.
$menu_link->menu_name = NULL;
else {
Supports Markdown
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