osCommerce / oscommerce2

osCommerce Online Merchant v2.x
http://www.oscommerce.com
MIT License
281 stars 222 forks source link

Radio buttons not send values from post forms if not selected or has not default value #647

Open tgely opened 5 years ago

tgely commented 5 years ago

PHP Notice: Undefined index: gender in \catalog\checkout_shipping_address.php on line 45

https://github.com/osCommerce/oscommerce2/blob/de0e97d15d43ac6a9a6cfb2847134a82a0148f2b/catalog/checkout_shipping_address.php#L45

same issue is found here https://github.com/osCommerce/oscommerce2/blob/de0e97d15d43ac6a9a6cfb2847134a82a0148f2b/catalog/checkout_payment_address.php#L34