File tree 2 files changed +6
-0
lines changed
cgi-bin/DW/Controller/Shop
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5417,6 +5417,8 @@ widget.shopitemoptions.error.notforsale=This purchase type is currently not for
5417
5417
5418
5418
widget.shopitemoptions.error.notloggedin=You must be logged in as a personal account in order to purchase paid time for yourself.
5419
5419
5420
+ widget.shopitemoptions.error.notype=Please select which type of account time you wish to purchase.
5421
+
5420
5422
widget.shopitemoptions.error.nousers=There are currently no active free users.
5421
5423
5422
5424
widget.shopitemoptions.header.paid=Paid Account
Original file line number Diff line number Diff line change @@ -137,6 +137,10 @@ sub shop_account_handler {
137
137
DW::Pay::validate_deliverydate( $post -> {deliverydate }, $errors , $item_data );
138
138
}
139
139
140
+ unless ( $post -> {accttype } ) {
141
+ $errors -> add( ' accttype' , ' widget.shopitemoptions.error.notype' );
142
+ }
143
+
140
144
unless ( $errors -> exist ) {
141
145
$item_data -> {anonymous } = 1
142
146
if $post -> {anonymous } || !$remote ;
You can’t perform that action at this time.
0 commit comments