]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/actions/meta.py
Fixes a problem that might allow some users to get multiple badges in some strange...
[osqa.git] / forum / actions / meta.py
index adf51ca933c63fdf26d2b4a89aa8d4acb4f7c883..ccdaa75f390396d09b2687b95e1277f3b450e9b9 100644 (file)
@@ -157,7 +157,7 @@ class AcceptAnswerAction(ActionProxy):
 \r
         return _("%(user)s accepted %(answerer)s answer on %(asker)s question %(question)s") % {\r
             'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)),\r
-            'answerer': self.hyperlink(answer.author.get_profile_url(), self.friendly_username(viewer, answer.author)),\r
+            'answerer': self.hyperlink(answer.author.get_profile_url(), self.friendly_ownername(viewer, answer.author)),\r
             'asker': asker,\r
             'question': self.hyperlink(question.get_absolute_url(), question.title)\r
         }\r