From 5170fd7f6ecc90955cc7b32049f9ef9546d425a8 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Sep 2016 09:49:25 +0200 Subject: prohibit inline control structures on helpers --- includes/helper/email_helper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/helper/email_helper.php') 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']); -- cgit v1.2.3-54-g00ecf