Skip to content

Node.js based forum software built for the modern web

filter:post.getPosts now passes in uid

psychobunny2c1bab2b9ac1
diff --git a/src/posts.js b/src/posts.js
index 6ba5350b34..06216f0d07 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -149,7 +149,7 @@ var async = require('async'),
return callback(err);
}
- plugins.fireHook('filter:post.getPosts', {posts: posts}, function(err, data) {
+ plugins.fireHook('filter:post.getPosts', {posts: posts, uid: uid}, function(err, data) {
if (err) {
return callback(err);
}