X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=2cbe810bc94c4e62c3a8e8cbf5ebfc9d9131735d;hb=7defb1768bff1c3da7ea63957cf8c7c928d379ab;hp=00cfa06e21e45b115962abae7ef7fb604c8826dc;hpb=d2c47924eb186a0839fe107b271ccbf27d15fe10;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index 00cfa06e21..2cbe810bc9 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -51,7 +51,7 @@ function regmod_content(&$a) { $r = q("DELETE FROM `register` WHERE `hash` = '%s' LIMIT 1", dbesc($register[0]['hash']) ); - notice( t('Registration revoked for ') . $user[0]['username'] . EOL); + notice( sprintf(t('Registration revoked for %s'), $user[0]['username']) . EOL); return; } @@ -89,7 +89,7 @@ function regmod_content(&$a) { '$uid' => $user[0]['uid'] )); - $res = mail($user[0]['email'], t('Registration details for '). $a->config['sitename'], + $res = mail($user[0]['email'], sprintf(t('Registration details for %s'), $a->config['sitename']), $email_tpl,'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] ); if($res) {