diff --git a/src/controllers/accounts/profile.js b/src/controllers/accounts/profile.js index 29e353b084..278211e94e 100644 --- a/src/controllers/accounts/profile.js +++ b/src/controllers/accounts/profile.js @@ -81,7 +81,7 @@ profileController.get = function(req, res, callback) { userData.profileviews = 1; } - var plainAboutMe = S(userData.aboutme).decodeHTMLEntities().stripTags().s; + var plainAboutMe = userData.aboutme ? S(userData.aboutme).decodeHTMLEntities().stripTags().s : ''; res.locals.metaTags = [ {