summaryrefslogtreecommitdiff
path: root/includes/model/UserDriverLicenses_model.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-05-01 10:20:58 +0200
committerGitHub <noreply@github.com>2017-05-01 10:20:58 +0200
commitff4d176341c52da4ea74364de153a20352c6a145 (patch)
treee36d1cc98a43a41f682bbc50f4796e9ddeb67ec9 /includes/model/UserDriverLicenses_model.php
parentcb9a1327900e838907eedd0c58d015db937fbb61 (diff)
parentb688b928dbabf6ba3ced4021e7e9808de7777e25 (diff)
Merge pull request #321 from raboof/wantsToDrive
Improvements around 'wants_to_drive'
Diffstat (limited to 'includes/model/UserDriverLicenses_model.php')
-rw-r--r--includes/model/UserDriverLicenses_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/UserDriverLicenses_model.php b/includes/model/UserDriverLicenses_model.php
index 6caa3589..afc44575 100644
--- a/includes/model/UserDriverLicenses_model.php
+++ b/includes/model/UserDriverLicenses_model.php
@@ -24,7 +24,7 @@ function UserDriverLicense_new() {
* @return boolean
*/
function UserDriverLicense_valid($user_driver_license) {
- return $user_driver_license['has_car'] || $user_driver_license['has_license_car'] || $user_driver_license['has_license_3_5t_transporter'] || $user_driver_license['has_license_7_5t_truck'] || $user_driver_license['has_license_12_5t_truck'] || $user_driver_license['has_license_forklift'];
+ return $user_driver_license['has_license_car'] || $user_driver_license['has_license_3_5t_transporter'] || $user_driver_license['has_license_7_5t_truck'] || $user_driver_license['has_license_12_5t_truck'] || $user_driver_license['has_license_forklift'];
}
/**