Skip to content

Commit 2ff9b31

Browse files
committed
Corrected check out error message about required first and last names.
1 parent 6a64125 commit 2ff9b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.modeldriven.alf/OnlineBookStore/OnlineBookstoreUI/CheckOutController.alf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ active class CheckOutController specializes Controller {
4545

4646
private isValid(): Boolean {
4747
if (this.customerName.firstName == "" || this.customerName.lastName == "") {
48-
WriteLine("*** Both your first and last are required. ***");
48+
WriteLine("*** Both your first and last name are required. ***");
4949
} else if (this.customerPhone->isEmpty()) {
5050
WriteLine("*** Your telephone number is required. ***");
5151
} else if (this.shippingAddress.addressLine1 == "") {

0 commit comments

Comments
 (0)