bug: MokoSuiteCrossHelper::addSubmenu() has duplicate 'calendar' key #248
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In
src/Helper/MokoSuiteCrossHelper.phpline 43-46, the$viewsarray has a duplicate'calendar'key:PHP silently overwrites the first
'calendar'with the second. Both have the same value so there's no functional bug, but it means the submenu ordering is wrong -- calendar appears after logs instead of after templates.Fix
Remove the duplicate line 45 entry. The correct order should be:
dashboard, posts, services, templates, calendar, analytics, logs
Branch created:
feature/248-bug-mokosuitecrosshelper-addsubmenu-has-