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

PHP 7.1 bugfix: undeclared array subdimension with batch CSV export #12946

Merged
merged 1 commit into from
Oct 18, 2018

Conversation

laryn
Copy link
Contributor

@laryn laryn commented Oct 17, 2018

Overview

Exporting CSV batches on PHP 7.1 crashes and then makes the exported batches screen inaccessible.
https://civicrm.stackexchange.com/q/26895/26

This is due to an undeclared array subdimension. This PR fixes it.

https://lab.civicrm.org/dev/core/issues/452

@civibot
Copy link

civibot bot commented Oct 17, 2018

(Standard links)

@civibot civibot bot added the master label Oct 17, 2018
@laryn
Copy link
Contributor Author

laryn commented Oct 17, 2018

I also made an issue in Gitlab. I hope I'm doing this right.
https://lab.civicrm.org/dev/core/issues/452

@seamuslee001
Copy link
Contributor

Jenkins add to whitelist

@eileenmcnaughton
Copy link
Contributor

the following lines of code make it pretty clear $headers is expected to be an array - I'm merging this. Thanks @laryn

@eileenmcnaughton eileenmcnaughton merged commit 739e971 into civicrm:master Oct 18, 2018
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.

3 participants