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.
In very rare circumstances, menu_token produces a menu item without localized_tokens.
If this happens, Drupal's menu.inc will throw an error and die.
This patch prevents that by guaranteeing there is at least an empty array.
Comment | File | Size | Author |
---|---|---|---|
localized_options-not-set.patch | 580 bytes | batje | |
Comments
Comment #2
DevElCuy CreditAttribution: DevElCuy commentedMakes a lot of sense @batje!