Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-3.4
Component:
Module Support
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Sep 2020 at 13:12 UTC
Updated:
16 Nov 2021 at 15:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
edvanleeuwenComment #3
danchadwick commentedmenu_get_item()can return FALSE. This patch protects against referencing it as if it were an array.Comment #4
danchadwick commentedFound a second call to
menu_get_item(), which also needs fixing.Comment #5
edvanleeuwenOk, tested and verified.
Thanks for the patch!
Comment #6
Irbis commentedPatch #4 also works for me:
Environment versions:
Drupal: 7.79
PHP: 7.4.16
Web-server: Apache/2.4.46 (Ubuntu)
DBMS version: MySQL 8.0.23
Theme: Mix and Match 7.x-2.1 based on AdaptiveTheme 7.x-3.4
Comment #7
hey_germanoThanks for the patch! I can confirm this clears up the notices. The logic looks good. Moving to RTBC.
Comment #9
mattbloomfield commentedI've committed this to the 7.x-3.x branch. It should make its way into a release sometime in the near future.
Comment #10
mattbloomfield commented