TypeError: method_exists() error if '#access' key empty for a tab

Created on 7 November 2023, 11 months ago
Updated 8 November 2023, 11 months ago

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.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada bgilhome Victoria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024