From 88f3bafa5e41217b5a7dd49271429099515de9c8 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 31 Oct 2018 12:48:22 +0100 Subject: Replaced `Auth()` with `auth()` --- includes/controller/user_driver_licenses_controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/controller/user_driver_licenses_controller.php') 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(); -- cgit v1.2.3-70-g09d2