]> git.mxchange.org Git - friendica.git/blobdiff - include/user.php
Override 'enotify_no_content' system option if type is SYSTEM_EMAIL
[friendica.git] / include / user.php
index bf29daf1a649e371418b08487f018187aa7efab1..eccfa7a08a69eead63ae65d62d531dc48cb5d8d7 100644 (file)
@@ -382,7 +382,7 @@ function send_register_open_eml($email, $sitename, $siteurl, $username, $passwor
                The login details are as follows:
                        Site Location:  %3$s
                        Login Name:     %1$s
-                       Password:       %5$
+                       Password:       %5$s
 
                You may change your password from your account "Settings" page after logging
                in.
@@ -407,7 +407,7 @@ function send_register_open_eml($email, $sitename, $siteurl, $username, $passwor
                $preamble = sprintf($preamble, $username, $sitename);
                $body = sprintf($body, $email, $sitename, $siteurl, $username, $password);
 
-               notification(array(
+               return notification(array(
                        'type' => "SYSTEM_EMAIL",
                        'to_email' => $email,
                        'subject'=> sprintf( t('Registration details for %s'), $sitename),