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.
Parse error: syntax error, unexpected '[' in /home/example/public_html/sites/all/modules/any_menu_path/any_menu_path.module on line 212
Comment | File | Size | Author |
---|---|---|---|
#5 | any_menu_path-changed_array_creation-2599874-5.patch | 1.38 KB | michael_wojcik |
Comments
Comment #2
felribeiro CreditAttribution: felribeiro at CI&T commentedChange the array creation.
Comment #3
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #4
michael_wojcik CreditAttribution: michael_wojcik as a volunteer and commentedMade additions to felribeiro's patch. Errors affects
line 212
,line 220
, andline 225
ofany_menu_path.module
, not justline 212
.Comment #5
michael_wojcik CreditAttribution: michael_wojcik as a volunteer and commentedAltered previous patch to correct for same error in
any_menu_path.install
online 24
.Comment #6
vmachado CreditAttribution: vmachado as a volunteer and at CI&T commentedSuggested patch is working fine.
Comment #8
hanoiiGood catch, this works for php 5.4+ but d7 is php5.3.
Comment #10
michael_wojcik CreditAttribution: michael_wojcik as a volunteer and at Hook 42 commentedUpdating credit for this commit. Thanks for the review and commit!