diff options
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r-- | includes/controller/user_driver_licenses_controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php index 9c44adb5..dd12db2a 100644 --- a/includes/controller/user_driver_licenses_controller.php +++ b/includes/controller/user_driver_licenses_controller.php @@ -39,7 +39,7 @@ function user_driver_license_required_hint() */ function user_driver_licenses_controller() { - $user = Auth()->user(); + $user = auth()->user(); if (!$user) { redirect(page_link_to('')); @@ -97,7 +97,7 @@ function user_driver_license_load_user() function user_driver_license_edit_controller() { global $privileges; - $user = Auth()->user(); + $user = auth()->user(); $request = request(); $user_source = user_driver_license_load_user(); |