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 for #6115: Added a check on $valueSelect to see if it is a string. #6121

Conversation

skoop
Copy link
Contributor

@skoop skoop commented Dec 2, 2016

This PR should fix #6115.

We've added a check to $valueSelect to make sure it is a string. If not, we set the $stack empty. This is to prevent calling preg_split() on $valueSelect in the situations where it is an object.

…6115

Reason for this fix is the preg_split() being executed later, which expects a string parameter
@GwendolenLynch GwendolenLynch merged commit 6148181 into bolt:release/3.2 Dec 2, 2016
@GwendolenLynch
Copy link
Contributor

Thanks @skoop 👍

@GwendolenLynch GwendolenLynch added this to the Bolt 3.2 - Feature release milestone Jul 18, 2017
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.

None yet

3 participants