-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 strstr modifier #35705
Fix strstr modifier #35705
Conversation
Co-authored-by: Tom Zajac <SharakPL@users.noreply.github.com>
Hello @Hlavtox , Could you share the How to test steps please ? :) Thanks! |
@florine2623 I think that green UI tests suffice, it's the same as all of the other modifiers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The auto tests are broken : https://github.com/florine2623/testing_pr/actions/runs/8523037501/job/23383999023
@PrestaShop/qa-automation do you think this is related to this PR ?
Thanks!
No, it's not linked. |
Thanks, so I can approve @Hlavtox 's PR ^^ |
@florine2623 since I don't see this modifier used anywhere in the PS, you may want to create a test case. For example change themes/classic/templates/index.tpl like so: and then open the front page. It should show |
PHP Deprecated: Using php-function "strstr" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier.