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/model/Shifts_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/model/Shifts_model.php') diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index cc909954..d6fbe3b6 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -519,7 +519,7 @@ function Shift_delete($shift_id) */ function Shift_update($shift) { - $user = Auth()->user(); + $user = auth()->user(); $shift['name'] = ShiftType($shift['shifttype_id'])['name']; mail_shift_change(Shift($shift['SID']), $shift); -- cgit v1.2.3-54-g00ecf