diff options
author | Friendika <info@friendika.com> | 2010-11-07 17:29:30 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-07 17:29:30 -0800 |
commit | 9e35fb26f7aa6c61819f1536189c0102fed29ad9 (patch) | |
tree | 102ffc5c8ab15710c4f9a253831f2a9e5500c503 /mod/register.php | |
parent | d825db36497b1af43f0f58134702665f1ac1ab55 (diff) | |
download | volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.gz volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.bz2 volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.zip |
lint
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 ) ; |