diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-03-18 18:07:37 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-03-18 18:07:37 +0100 |
commit | 878bdeccfd66b7b8229fd761c23ba13bc51c7454 (patch) | |
tree | 6b881c4f71389ef6aa49776e8b99ac65f30f4ec2 /mod/dfrn_confirm.php | |
parent | f4f5095e19badcc85453182b86bff97f57228257 (diff) | |
parent | 9838245c6c9b2e311650b53a1c3aa1ef778ef935 (diff) | |
download | volse-hubzilla-878bdeccfd66b7b8229fd761c23ba13bc51c7454.tar.gz volse-hubzilla-878bdeccfd66b7b8229fd761c23ba13bc51c7454.tar.bz2 volse-hubzilla-878bdeccfd66b7b8229fd761c23ba13bc51c7454.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 1b42c13b8..1bf1ba954 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -491,7 +491,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { dbesc($node)); if(! count($r)) { - $message = t('No user record found for ') . '\'' . $node . '\''; + $message = sprintf(t('No user record found for \'%s\' '), $node); xml_status(3,$message); // failure // NOTREACHED } @@ -645,7 +645,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { '$uid' => $newuid ) ); - $res = mail($r[0]['email'], t("Connection accepted at ") . $a->config['sitename'], + $res = mail($r[0]['email'], sprintf( t("Connection accepted at %s") , $a->config['sitename']), $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] ); if(!$res) { // pointless throwing an error here and confusing the person at the other end of the wire. |