aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-07 17:29:30 -0800
committerFriendika <info@friendika.com>2010-11-07 17:29:30 -0800
commit9e35fb26f7aa6c61819f1536189c0102fed29ad9 (patch)
tree102ffc5c8ab15710c4f9a253831f2a9e5500c503 /mod/regmod.php
parentd825db36497b1af43f0f58134702665f1ac1ab55 (diff)
downloadvolse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.gz
volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.bz2
volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.zip
lint
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index 932b109eb..772351ac5 100644
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -15,7 +15,7 @@ function regmod_content(&$a) {
if($a->argc != 3)
killme();
- $cmd = $a->argv[1];
+ $cmd = $a->argv[1];
$hash = $a->argv[2];
@@ -76,7 +76,7 @@ function regmod_content(&$a) {
));
$res = mail($user[0]['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) {
notice( t('Account approved.') . EOL );