Skip to content

Node.js based forum software built for the modern web

crash fix

barisusakli4b005a4037d1
diff --git a/src/postTools.js b/src/postTools.js
index b7361f14ee..97d3e71928 100644
--- a/src/postTools.js
+++ b/src/postTools.js
@@ -54,7 +54,7 @@ var winston = require('winston'),
if (err) {
return next(err);
}
-
+ options.tags = options.tags || [];
if (isMainPost) {
title = title.trim();