Skip to content

Menu item aliases changed even if there is no need #35

Description

@mahagr

Menu item aliases are being changed, even if Joomla has no issues or conflicts. This happens when there are 2 menu items with the same aliases but having different parent.

Quickest fix would change the array to be multi-dimensional (without looking into the code):

$aliases[$item->parent] = $item->alias->id;

And by checking

if (in_array($aliases[$item->parent])) changeAlias();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions