diff options
Diffstat (limited to 'includes/controller')
-rw-r--r-- | includes/controller/shift_entries_controller.php | 2 | ||||
-rw-r--r-- | includes/controller/user_driver_licenses_controller.php | 4 | ||||
-rw-r--r-- | includes/controller/users_controller.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php index c5c1e181..95fbccfc 100644 --- a/includes/controller/shift_entries_controller.php +++ b/includes/controller/shift_entries_controller.php @@ -334,7 +334,7 @@ function shift_entry_load() */ function shift_entry_delete_controller() { - $user = Auth()->user(); + $user = auth()->user(); $request = request(); $shiftEntry = shift_entry_load(); 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(); diff --git a/includes/controller/users_controller.php b/includes/controller/users_controller.php index b54bc967..0bf612d5 100644 --- a/includes/controller/users_controller.php +++ b/includes/controller/users_controller.php @@ -14,7 +14,7 @@ use Engelsystem\ShiftsFilter; */ function users_controller() { - $user = Auth()->user(); + $user = auth()->user(); $request = request(); if (!$user) { |