reduce complexity of user driver license
This commit is contained in:
parent
7b8d191808
commit
356cc9e1d0
|
@ -94,7 +94,6 @@ function user_driver_license_edit_controller() {
|
|||
}
|
||||
|
||||
if (isset($_REQUEST['submit'])) {
|
||||
$valid = true;
|
||||
$wants_to_drive = isset($_REQUEST['wants_to_drive']);
|
||||
if ($wants_to_drive) {
|
||||
$user_driver_license['has_car'] = isset($_REQUEST['has_car']);
|
||||
|
|
Loading…
Reference in New Issue