Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] Fix some additional issues where curly braces were being used t… #17599

Merged
merged 1 commit into from
Jun 14, 2020

Conversation

seamuslee001
Copy link
Contributor

…o access string or array offsets

Overview

This fixes another couple of issues with {} being used to access array/string offsets

Before

Code having issues on PHP7.4

After

Code works on PHP7.4

ping @eileenmcnaughton

Tests that demonstrate the issues https://test.civicrm.org/job/CiviCRM-Core-Edge/513/CIVIVER=master,label=test-3/testReport/(root)/api_v3_ACLPermissionTest/testContactGetNoResultsHook_with_data_set__0/ https://test.civicrm.org/job/CiviCRM-Core-Edge/513/CIVIVER=master,label=test-3/testReport/(root)/api_v3_CustomFieldTest/testCustomFieldCreateAllAvailableFormInputs/ and CRM_Core_Page_HookTest

@civibot
Copy link

civibot bot commented Jun 13, 2020

(Standard links)

@civibot civibot bot added the master label Jun 13, 2020
@seamuslee001
Copy link
Contributor Author

also this @mattwire

@eileenmcnaughton eileenmcnaughton merged commit 84fdbbb into civicrm:master Jun 14, 2020
@eileenmcnaughton eileenmcnaughton deleted the array_key_offsets branch June 14, 2020 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants