Make the state field required in cart addresses. Fixes bug #11564.
This commit is contained in:
parent
f3010db1b3
commit
6965611994
2 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
- fixed: UserList asset has SQL injection bug
|
- fixed: UserList asset has SQL injection bug
|
||||||
- fixed #11558: wiki results for visitors
|
- fixed #11558: wiki results for visitors
|
||||||
- fixed #11533: Saving entered data at registration
|
- fixed #11533: Saving entered data at registration
|
||||||
|
- fixed #11564: Shop: Cart does not require a state field in the address
|
||||||
|
|
||||||
7.9.4
|
7.9.4
|
||||||
- We're shipping underscore.js now for its suite of extremely handy utility
|
- We're shipping underscore.js now for its suite of extremely handy utility
|
||||||
|
|
|
||||||
|
|
@ -329,7 +329,7 @@ sub missingFields {
|
||||||
$addressData = $address;
|
$addressData = $address;
|
||||||
}
|
}
|
||||||
my @missingFields = ();
|
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 '';
|
push @missingFields, $field if $addressData->{$field} eq '';
|
||||||
}
|
}
|
||||||
return @missingFields;
|
return @missingFields;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue