Commit 819db04f authored by Alexander Stehlik's avatar Alexander Stehlik Committed by Susanne Moog
Browse files

[BUGFIX] Use indexed menu item array for directory menu

This prevents overwriting existing entries when a mount point
and its target have the same parent.

Resolves: #89402
Releases: master, 9.5
Change-Id: I1e527443410e0f875a95e803d4c3c026b089f5a7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61962

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
parent 0780cfbd
......@@ -700,7 +700,7 @@ abstract class AbstractMenuContentObject
if ($MP) {
$row['_MP_PARAM'] = $MP . ($row['_MP_PARAM'] ? ',' . $row['_MP_PARAM'] : '');
}
$menuItems[$row['uid']] = $this->sys_page->getPageOverlay($row);
$menuItems[] = $this->sys_page->getPageOverlay($row);
}
}
}
......
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