Problem/Motivation

Undefined index: map in _token_filter_filter_tokens() in token_filter.module. Because menu_get_item() can return a fully populated $item that the user doesn't have access to. And if the user does not have access, the 'map' doesn't get assigned. Resulting in the undefined index error.

Proposed resolution

Check access.

Remaining tasks

RTBC

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heddn’s picture

Status: Active » Needs review
FileSize
882 bytes
darvanen’s picture

Patch looks fine. Have you got a set of instructions to reproduce the error?

darvanen’s picture

Status: Needs review » Postponed (maintainer needs more info)