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

add isset before strpos in colour code check #41

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

Ben-Bromley
Copy link
Contributor

@Ben-Bromley Ben-Bromley commented Mar 22, 2023

Passing null as the first argument of strpos is deprecated in php 8.1

This only happens when the product review widget star colour isn't set in the config.

@rahaddon rahaddon merged commit 1b5577b into master Apr 28, 2023
@rahaddon rahaddon deleted the fix/deprecated-null-argument branch April 28, 2023 13:42
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

2 participants