]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Merge pull request #5920 from MrPetovan/bug/remove-password-from-register
[friendica.git] / include / enotify.php
index d8e5614c171034ae4270eb5d38bceaddb765400b..6d8cef87947194eea4f23aeb15e68be772cf0d99 100644 (file)
@@ -84,7 +84,7 @@ function notification($params)
        // with $params['show_in_notification_page'] == false, the notification isn't inserted into
        // the database, and an email is sent if applicable.
        // default, if not specified: true
-       $show_in_notification_page = ((x($params, 'show_in_notification_page')) ? $params['show_in_notification_page']:true);
+       $show_in_notification_page = isset($params['show_in_notification_page']) ? $params['show_in_notification_page'] : true;
 
        $additional_mail_header = "";
        $additional_mail_header .= "Precedence: list\n";