Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just checking if $tree[$key]['link']['mlid'] is set before checking its parent's will avoid a php notice.
Comment | File | Size | Author |
---|---|---|---|
menu_block_menu_prune_check_mlid.patch | 698 bytes | yareckon | |
Comments
Comment #1
GiorgosKit would be nice to know what notice this error produces
this ways it would be easier for other people to find in issue queue
Comment #2
JohnAlbinYep. I need to reproduce the bug before I'll apply a fix for it.
Comment #3
Dave ReidNo response in two years, closing.