nodebb-plugin-poll
Advanced tools
Comparing version 0.2.17 to 0.2.18
{ | ||
"name": "nodebb-plugin-poll", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"description": "NodeBB Poll Plugin", | ||
@@ -5,0 +5,0 @@ "main": "library.js", |
@@ -70,2 +70,5 @@ "use strict"; | ||
} | ||
if (parseInt(post.cid, 10) === 0) { | ||
return app.alertError("[[error:category-not-selected]]"); | ||
} | ||
@@ -72,0 +75,0 @@ Poll.sockets.canCreate({cid: post.cid, pid: post.pid}, function(err, canCreate) { |
Sorry, the diff of this file is not supported yet
278602
48
3259