Always return a string for status bar of user
Closes #13579 (grafted from 78143b8471e85a91245b58ce2fa85aab3e705a98) --HG-- branch : 7.0
This commit is contained in:
1 parent
89d1a8a4ad
commit
7cdf85df71
1 file changed
+1
-1
@@ -242,7 +242,7 @@ class User(avatar_mixin(100, 'login'), DeactivableMixin, ModelSQL, ModelView):
|
||||
return Lang.default_direction()
|
||||
|
||||
def get_status_bar(self, name):
|
||||
return self.name
|
||||
return self.name or ''
|
||||
|
||||
def get_avatar_badge_url(self, name):
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user