Skip to content

Fixed inconsistent check for isSubscriber method.#1757

Open
ionutG-icoldo wants to merge 1 commit intomailchimp:develop-2.3from
ionutG-icoldo:bugfix/is-subscriber-validation
Open

Fixed inconsistent check for isSubscriber method.#1757
ionutG-icoldo wants to merge 1 commit intomailchimp:develop-2.3from
ionutG-icoldo:bugfix/is-subscriber-validation

Conversation

@ionutG-icoldo
Copy link

@ionutG-icoldo ionutG-icoldo commented Aug 2, 2023

Forcing status value from subscriber object to be of same type as constant that is checked against.

Reason: The getStatus() from Magento Newsletter ( Subscriber class ) module has specified that the return type of the method is int but in fact returns string.

Forcing status value from subscriber object to be of same type as constant that is checked against.
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

Comments