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

Fixed passing null for trim is deprecated in Mage_Catalog_Model_Attribute_Backend_Customlayoutupdate #3336

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

kyrena
Copy link
Contributor

@kyrena kyrena commented Jun 20, 2023

Description

This fix passing null to parameter #1 ($string) of type string is deprecated for trim with PHP 8.1/8.2.
Perhaps it's not the best way.

I get this notice when I save a simple product associated to a configurable product at store view level.
See also this discussion comment.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@github-actions github-actions bot added the Component: Catalog Relates to Mage_Catalog label Jun 20, 2023
@fballiano fballiano merged commit 0992d8c into OpenMage:main Jun 22, 2023
@kyrena kyrena deleted the php82-trimattr branch June 23, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Catalog Relates to Mage_Catalog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants