v1.18.x
barisusakli 8 years ago
parent f464966817
commit 6540b07ab2

@ -119,6 +119,7 @@ helpers.getUserDataByUserSlug = function(userslug, callerUID, callback) {
userData.location = validator.escape(String(userData.location || ''));
userData.signature = validator.escape(String(userData.signature || ''));
userData.aboutme = validator.escape(String(userData.aboutme || ''));
userData.birthday = validator.escape(String(userData.birthday || ''));
userData['cover:url'] = userData['cover:url'] || require('../../coverPhoto').getDefaultProfileCover(userData.uid);
userData['cover:position'] = userData['cover:position'] || '50% 50%';

Loading…
Cancel
Save