From 7f60276d66816b5e2541ae5cabb1a46e4557f34f Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 3 Dec 2014 16:02:17 -0500 Subject: [PATCH] FIX: Word null appearing in user card --- app/assets/javascripts/discourse/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/user.js b/app/assets/javascripts/discourse/models/user.js index 47e36a415e4..ab29c600a6f 100644 --- a/app/assets/javascripts/discourse/models/user.js +++ b/app/assets/javascripts/discourse/models/user.js @@ -92,7 +92,7 @@ Discourse.User = Discourse.Model.extend({ desc = I18n.t('user.moderator', {user: name}); return ''; } - return null; + return ""; }.property('admin','moderator'), /**