]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Emailer.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / src / Util / Emailer.php
index 42aab8f5f3ef625409d199d291c05a1e64986bb9..b291076cc088bfae898e5c0e5917daf1c5f4dbde 100644 (file)
@@ -36,7 +36,7 @@ class Emailer
                Addon::callHooks('emailer_send_prepare', $params);
 
                $email_textonly = false;
-               if (x($params, "uid")) {
+               if (!empty($params['uid'])) {
                        $email_textonly = PConfig::get($params['uid'], "system", "email_textonly");
                }