diff --git a/actions/newnotice.php b/actions/newnotice.php index a7a3f8362c..aabf5ccd77 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -98,7 +98,7 @@ class NewnoticeAction extends Action { $replyto = $this->trimmed('replyto'); $profile = Profile::staticGet('nickname', $replyto); if ($profile) { - $content = "@$profile "; + $content = '@' . $profile->nickname . ' '; } } common_show_header(_t('New notice'), NULL, $content,