summaryrefslogtreecommitdiff
path: root/includes/helper/email_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/helper/email_helper.php')
-rw-r--r--includes/helper/email_helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/helper/email_helper.php b/includes/helper/email_helper.php
index 5c7c64a8..24c32be8 100644
--- a/includes/helper/email_helper.php
+++ b/includes/helper/email_helper.php
@@ -3,8 +3,9 @@
function engelsystem_email_to_user($recipient_user, $title, $message, $not_if_its_me = false) {
global $user;
- if ($not_if_its_me && $user['UID'] == $recipient_user['UID'])
+ if ($not_if_its_me && $user['UID'] == $recipient_user['UID']) {
return true;
+ }
gettext_locale($recipient_user['Sprache']);