mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
moved image uploading to a require js module, added image upload to site logo
This commit is contained in:
@@ -425,7 +425,7 @@ var user = require('./../user.js'),
|
||||
posts.getPostsByUid(userData.theirid, 0, 9, function (posts) {
|
||||
|
||||
userData.posts = posts.filter(function (p) {
|
||||
return p.deleted !== "1";
|
||||
return p && p.deleted !== "1";
|
||||
});
|
||||
userData.isFollowing = isFollowing;
|
||||
if (!userData.profileviews)
|
||||
|
||||
Reference in New Issue
Block a user