summaryrefslogtreecommitdiff
path: root/includes/helper/email_helper.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-29 09:49:25 +0200
committermsquare <msquare@notrademark.de>2016-09-29 09:49:25 +0200
commit5170fd7f6ecc90955cc7b32049f9ef9546d425a8 (patch)
treea6c59aa31bffbd51a0f372fc0f6afcbd586af933 /includes/helper/email_helper.php
parentbd9003f5d54bbf733fafc3359349127e18a8a1a1 (diff)
prohibit inline control structures on helpers
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']);