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/helper/email_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/helper') diff --git a/includes/helper/email_helper.php b/includes/helper/email_helper.php index 566217ef..b5a4060d 100644 --- a/includes/helper/email_helper.php +++ b/includes/helper/email_helper.php @@ -12,7 +12,7 @@ use Engelsystem\Models\User\User; */ function engelsystem_email_to_user($recipientUser, $title, $message, $notIfItsMe = false) { - if ($notIfItsMe && Auth()->user()->id == $recipientUser->id) { + if ($notIfItsMe && auth()->user()->id == $recipientUser->id) { return true; } -- cgit v1.2.3-54-g00ecf