Node.js based forum software built for the modern web
Add a return statement to the callback
Erik Schamper849db3b858be
diff --git a/src/postTools.js b/src/postTools.jsindex 0bba2135ef..27af4631bd 100644--- a/src/postTools.js+++ b/src/postTools.js@@ -24,7 +24,7 @@ var winston = require('winston'),}if(!Array.isArray(pids) || !pids.length) {- callback(null, false);+ return callback(null, false);}callback(null, parseInt(pids[0], 10) === parseInt(pid, 10));