]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
format replyto name correctly
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 07:29:53 +0000 (03:29 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 07:29:53 +0000 (03:29 -0400)
darcs-hash:20080709072953-84dde-5ebea95c28e535c8bdd5255354910a6f92903b92.gz

actions/newnotice.php

index a7a3f8362ca432e7a1f277097869cb03d524001b..aabf5ccd7788077b25d8f0cb782844fc73ea8cd5 100644 (file)
@@ -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,