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

dev/core#2286 - Avoid notice on missing db port during install #56

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

demeritcowboy
Copy link
Contributor

@demeritcowboy demeritcowboy commented Jan 6, 2021

https://lab.civicrm.org/dev/core/-/issues/2286

It's hard to explain how to reproduce this since it only comes up during a certain type of unit test for which there aren't any docs yet, but it comes up there as a fatal error. I'm hoping this is just an easy one from looking at the one-line change.

If the $civicrm_db array does not have a port member, then the current code gives a notice.

Companion to civicrm/civicrm-core#19324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants