Problem/Motivation

On line 72 of tab_manager.module, the empty-check for $value['#access'] comes after calling method_exists() - this will fail if it is empty.

Proposed resolution

Move the empty check before method_exists(). Attached patch does this.

Comments

bgilhome created an issue. See original summary.

bgilhome’s picture

Sorry, patch was malformed.

  • wombatbuddy committed ebd61ca6 on 1.x
    Issue #3399973 by bgilhome: TypeError: method_exists() error if '#access...
wombatbuddy’s picture

Status: Needs review » Fixed
wombatbuddy’s picture

Status: Fixed » Closed (fixed)