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

Fix another instance of NULL being passed to CRM_Utils_Array::value #16711

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 9, 2020

Overview

Fixes another bad-coding instance where we do silly things rather than set the parameter up as an array from the start

Before

NULL being passed to CRM_Utils_Array::value

After

self::$relationshipType is always an array, isset used

Technical Details

Note that the test has only cosmetic changes picked up while running the test to identify the bug

Comments

Note that the test has only cosmetic changes picked up while running the test to identify the bug
@civibot
Copy link

civibot bot commented Mar 9, 2020

(Standard links)

@civibot civibot bot added the master label Mar 9, 2020
@eileenmcnaughton
Copy link
Contributor Author

@colemanw can you merge this? Then I'll give that deprecation line another pass

@colemanw colemanw merged commit 5c5cc1f into civicrm:master Mar 9, 2020
@colemanw colemanw deleted the deprecated branch March 9, 2020 22:46
@colemanw
Copy link
Member

colemanw commented Mar 9, 2020

@eileenmcnaughton sure can you merge any of my other CRM_Utils_Array pulls?

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