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

PHP error when creating a new Shipping/Tax Zone without any selected Countries/States #19

Closed
brandonkelly opened this issue Oct 10, 2016 · 1 comment
Assignees
Labels

Comments

@brandonkelly
Copy link
Member

Steps to reproduce:

  1. Create a new Tax Zone
  2. Give it a Name and Handle, but don't assign any countries or states to it
  3. Save

Rather than reloading the page with a validation error on the Countries/States field, you get a PHP warning:

reset() expects parameter 1 to be array, string given

Also affects Shipping Zones.

@brandonkelly brandonkelly added this to the 2.1 milestone Oct 10, 2016
lukeholder added a commit that referenced this issue Oct 11, 2016
@lukeholder
Copy link
Member

Fixed in 4d50f30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants