From 1c29b78d073a8cae10648c113f7b2657216a1003 Mon Sep 17 00:00:00 2001 From: Giacomo Spettoli Date: Wed, 25 Mar 2015 11:54:11 +0100 Subject: [PATCH] fix bad names in workspaces' updates tile --- src/plonesocial/microblog/statusupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plonesocial/microblog/statusupdate.py b/src/plonesocial/microblog/statusupdate.py index 0bb05f9..b2de05c 100644 --- a/src/plonesocial/microblog/statusupdate.py +++ b/src/plonesocial/microblog/statusupdate.py @@ -49,7 +49,7 @@ def _init_userid(self): def _init_creator(self): portal_membership = getToolByName(getSite(), 'portal_membership') member = portal_membership.getAuthenticatedMember() - self.creator = member.getUserName() + self.creator = member.getProperty('fullname') or member.getUserName() # for unittest subclassing def _init_context(self, context):