From 7a9c727d3b1e52b860511e80f67d2e8f6344f163 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 11 Apr 2011 16:01:48 +0000 Subject: [PATCH] OSQA-649, fixing the truncate username feature, now it works for basic users too. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@966 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/models/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/models/user.py b/forum/models/user.py index 665c4d4..523397e 100644 --- a/forum/models/user.py +++ b/forum/models/user.py @@ -162,7 +162,7 @@ class User(BaseModel, DjangoUser): if self.is_staff: return u"%s \u2666" % username - return self.username + return username @property def last_activity(self): -- 2.39.5