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

Check as well if array exists, that it is not empty #27

Merged
merged 1 commit into from
Sep 16, 2017

Conversation

chaenu
Copy link
Contributor

@chaenu chaenu commented Sep 16, 2017

When you add a product, then remove it, the resource.products array exists but is empty. Therefore it isn't equal to null.

@bitbager bitbager merged commit c5e7563 into BitBagCommerce:master Sep 16, 2017
@bitbager
Copy link
Member

Thank you @chaenu! 🙂

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