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.

CommentFileSizeAuthor
localized_options-not-set.patch580 bytesbatje
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

  • develCuy committed b1f76d5 on 7.x-1.x authored by batje
    Issue #2211987 by batje: localized_options not set
    
DevElCuy’s picture

Status: Needs review » Fixed

Makes a lot of sense @batje!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.