diff options
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php index 5fdb629b5..99823f451 100644 --- a/mod/register.php +++ b/mod/register.php @@ -195,7 +195,7 @@ function register_post(&$a) { '$uid' => $newuid )); $res = mail($email, t('Registration details for ') . $a->config['sitename'], - $email_tpl, 'From: ' . t('Administrator@') . $_SERVER['SERVER_NAME']); + $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME']); if($res) { @@ -232,7 +232,7 @@ function register_post(&$a) { )); $res = mail($a->config['admin_email'], t('Registration request at ') . $a->config['sitename'], - $email_tpl,'From: ' . t('Administrator@') . $_SERVER[SERVER_NAME]); + $email_tpl,'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME']); if($res) { notice( t('Your registration is pending approval by the site owner.') . EOL ) ; |