diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-09 21:47:31 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-31 13:43:23 +0100 |
commit | 89e62c95a7ffd71a8e860f59378ecd13d6cbb196 (patch) | |
tree | a26965030177112a0d54a232c81ffd21d48529de /includes/model/UserDriverLicenses_model.php | |
parent | b069a938c6721ab5adddcbec4cff858ded6f0e1e (diff) |
Changed more functions :tada:
Diffstat (limited to 'includes/model/UserDriverLicenses_model.php')
-rw-r--r-- | includes/model/UserDriverLicenses_model.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/model/UserDriverLicenses_model.php b/includes/model/UserDriverLicenses_model.php index 2c251d66..1be6d4d2 100644 --- a/includes/model/UserDriverLicenses_model.php +++ b/includes/model/UserDriverLicenses_model.php @@ -57,12 +57,12 @@ function UserDriverLicense($user_id) * Create a user's driver license entry * * @param array $user_driver_license The UserDriverLicense to create - * @param array $user + * @param int $userId * @return array */ -function UserDriverLicenses_create($user_driver_license, $user) +function UserDriverLicenses_create($user_driver_license, $userId) { - $user_driver_license['user_id'] = $user['UID']; + $user_driver_license['user_id'] = $userId; DB::insert(' INSERT INTO `UserDriverLicenses` ( `user_id`, |