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.
Problem/Motivation
We are passing by reference the admin_toolbar_tools.flush menu object, but in restricted permissions this might not actually exist, which results in an unexpected operand failure.
Proposed resolution
Conditionally check if admin_toolbar_tools.flush exists.
Remaining tasks
N/A
User interface changes
N/A
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | unexpected-operand-2923580.patch | 2.8 KB | sylus |
Comments
Comment #2
sylus CreditAttribution: sylus commentedComment #3
adriancidThanks @sylus
Comment #4
adriancidComment #6
adriancid