-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
#4004: Newsletter Subscriber create-date not set, and change_status_at broken #11879
#4004: Newsletter Subscriber create-date not set, and change_status_at broken #11879
Conversation
@@ -95,6 +95,11 @@ class Subscriber extends \Magento\Framework\Model\AbstractModel | |||
protected $_customerSession; | |||
|
|||
/** | |||
* @var \Magento\Framework\Stdlib\DateTime\DateTime | |||
*/ | |||
protected $_date; |
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.
This attribute should be private
Explanation and the name of variable should be without underscore PSR-2#Properties
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.
Thank you, PR updated
61877cb
to
3afed3d
Compare
Hi @nemesis-back could you please share your email address so that we can send you SQUASHTOBERFEST contributor T-Shirt? |
…change_status_at broken #11879 - fixed backward compatibility issue
…change_status_at broken #11879
fix for #4004
Description
This PR adds new method beforeSave for Subscriber abstract model if data has changed for
subsriber_status
Fixed Issues
Manual testing scenarios
Contribution checklist