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/lostpass.php | |
parent | d825db36497b1af43f0f58134702665f1ac1ab55 (diff) | |
download | volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.gz volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.bz2 volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.zip |
lint
Diffstat (limited to 'mod/lostpass.php')
-rw-r--r-- | mod/lostpass.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/lostpass.php b/mod/lostpass.php index 0b5dc1376..30bdc059c 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -35,9 +35,8 @@ function lostpass_post(&$a) { '$reset_link' => $a->get_baseurl() . '/lostpass?verify=' . $new_password )); - $res = mail($email,"Password reset requested at {$a->config['sitename']}",$email_tpl,"From: Administrator@{$_SERVER[SERVER_NAME]}"); - - + $res = mail($email, t('Password reset requested at ') . $a->config['sitename'], + $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME]); goaway($a->get_baseurl()); } |