format replyto name correctly

darcs-hash:20080709072953-84dde-5ebea95c28e535c8bdd5255354910a6f92903b92.gz
This commit is contained in:
Evan Prodromou 2008-07-09 03:29:53 -04:00
parent c8162f7d97
commit fcf376e90f

View File

@ -98,7 +98,7 @@ class NewnoticeAction extends Action {
$replyto = $this->trimmed('replyto'); $replyto = $this->trimmed('replyto');
$profile = Profile::staticGet('nickname', $replyto); $profile = Profile::staticGet('nickname', $replyto);
if ($profile) { if ($profile) {
$content = "@$profile "; $content = '@' . $profile->nickname . ' ';
} }
} }
common_show_header(_t('New notice'), NULL, $content, common_show_header(_t('New notice'), NULL, $content,