From 2d64c9979e09daa03ee844e4fdc999e07393dc40 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 28 Jul 2013 03:01:58 -0400 Subject: [PATCH] sending pid as well as content in action:save_post_content hook --- src/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index bb10a854ec..fb5744ee48 100644 --- a/src/posts.js +++ b/src/posts.js @@ -343,7 +343,7 @@ var RDB = require('./redis.js'), }); } - plugins.fireHook('action:save_post_content', [content]) + plugins.fireHook('action:save_post_content', [pid, content]); if(!images) { postData.uploadedImages = JSON.stringify(uploadedImages);