aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
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 );