diff options
Diffstat (limited to 'includes/helper/email_helper.php')
-rw-r--r-- | includes/helper/email_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |