From e8801a75f3e75b2d2451f3cbbdd0c6f536b32de2 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 14 Oct 2013 21:47:45 -0400 Subject: [PATCH] fixing weird passing in of a single param as an array for post.save hook --- src/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index 422f7efd7f..ef285a8bcd 100644 --- a/src/posts.js +++ b/src/posts.js @@ -365,7 +365,7 @@ var RDB = require('./redis.js'), callback(postData); }); - plugins.fireHook('action:post.save', [postData]); + plugins.fireHook('action:post.save', postData); postSearch.index(content, pid); });