summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-07-17 23:43:47 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-07-17 23:43:47 +0200
commitcdf14f9d3f83b43bda6cb636c22546d315f3acdb (patch)
tree81135807cf7b596e344ce7e8dbeac77f8f8a803b /includes/model
parent317c91a22f736342c52ed643c94d510a100f7fdb (diff)
Reapplied "Merge pull request #321 from raboof/wantsToDrive"
Diffstat (limited to 'includes/model')
-rw-r--r--includes/model/UserDriverLicenses_model.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/model/UserDriverLicenses_model.php b/includes/model/UserDriverLicenses_model.php
index 5ff4df35..525d2016 100644
--- a/includes/model/UserDriverLicenses_model.php
+++ b/includes/model/UserDriverLicenses_model.php
@@ -29,8 +29,8 @@ function UserDriverLicense_new()
*/
function UserDriverLicense_valid($user_driver_license)
{
- return $user_driver_license['has_car']
- || $user_driver_license['has_license_car']
+ 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']