Causes the following PHP notice:

Notice: Undefined index: module in entity_menu_links_menu_link_alter() (line 75 of /var/www/entity_menu_links/entity_menu_links.module).

Comments

badjava’s picture

I had a quick look at this and the issue is in the hook_menu_link_alter() implementation of the module. The drupal_alter function is only called on menu_link_save which does not require the module item index to be used so it generates the PHP notice. I think the attached patch should fix the issue.

badjava’s picture

Assigned: Unassigned » badjava
Status: Active » Needs review

  • badjava committed b88c792 on 7.x-1.x
    Issue #2383597 by badjava: Using Devel Generate to create menu links...
badjava’s picture

Status: Needs review » Fixed
badjava’s picture

Status: Fixed » Closed (fixed)