reduce complexity of user driver license

This commit is contained in:
msquare 2016-11-17 15:04:33 +01:00
parent 7b8d191808
commit 356cc9e1d0
1 changed files with 0 additions and 1 deletions

View File

@ -94,7 +94,6 @@ function user_driver_license_edit_controller() {
} }
if (isset($_REQUEST['submit'])) { if (isset($_REQUEST['submit'])) {
$valid = true;
$wants_to_drive = isset($_REQUEST['wants_to_drive']); $wants_to_drive = isset($_REQUEST['wants_to_drive']);
if ($wants_to_drive) { if ($wants_to_drive) {
$user_driver_license['has_car'] = isset($_REQUEST['has_car']); $user_driver_license['has_car'] = isset($_REQUEST['has_car']);