diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index d9a1e3731..ce4585d33 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,7 @@ - fixed: UserList asset has SQL injection bug - fixed #11558: wiki results for visitors - fixed #11533: Saving entered data at registration + - fixed #11564: Shop: Cart does not require a state field in the address 7.9.4 - We're shipping underscore.js now for its suite of extremely handy utility diff --git a/lib/WebGUI/Shop/AddressBook.pm b/lib/WebGUI/Shop/AddressBook.pm index 563853f4b..0a0d79193 100644 --- a/lib/WebGUI/Shop/AddressBook.pm +++ b/lib/WebGUI/Shop/AddressBook.pm @@ -329,7 +329,7 @@ sub missingFields { $addressData = $address; } my @missingFields = (); - FIELD: foreach my $field (qw/label firstName lastName address1 city code country phoneNumber/) { + FIELD: foreach my $field (qw/label firstName lastName address1 city state code country phoneNumber/) { push @missingFields, $field if $addressData->{$field} eq ''; } return @missingFields;