summaryrefslogtreecommitdiff
path: root/includes/controller/user_driver_licenses_controller.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:32:12 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:59:33 +0100
commit8254a79c58ab5f80bfd5549f6141fda8039599ab (patch)
tree318cdf59ba302b28c02601497fd06f7a55797244 /includes/controller/user_driver_licenses_controller.php
parent1c27bf1375fe769ab53cbd67278ce41a5cc2a9d8 (diff)
Bugfixes & improvements
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r--includes/controller/user_driver_licenses_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php
index 9562cfe0..491a70b2 100644
--- a/includes/controller/user_driver_licenses_controller.php
+++ b/includes/controller/user_driver_licenses_controller.php
@@ -123,7 +123,7 @@ function user_driver_license_edit_controller()
if (UserDriverLicense_valid($user_driver_license)) {
if ($user_driver_license['user_id'] == null) {
- $user_driver_license = UserDriverLicenses_create($user_driver_license, $user);
+ $user_driver_license = UserDriverLicenses_create($user_driver_license, $user_source['UID']);
} else {
UserDriverLicenses_update($user_driver_license);
}