Skip to content

Conversation

@nick2687
Copy link
Contributor

@nick2687 nick2687 commented Aug 19, 2022

The second param of str_contains only supports strings, not arrays.

I noticed this caused a fatal 500 error when used with Modx 3.0.

This change updates it so that the values checked are both strings.

*Edit: Apologies @sergant210, I forgot to tag you.

The second param of str_contains only supports strings, not arrays. This causes a fatal 500 error when used with Modx 3.0. 

Updated so that the values checked are both strings.
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.

1 participant