diff --git a/src/posts/edit.js b/src/posts/edit.js index d4c3a3c732..fece8aa640 100644 --- a/src/posts/edit.js +++ b/src/posts/edit.js @@ -118,7 +118,7 @@ module.exports = function(Posts) { if (title) { topicData.title = title; - topicData.slug = tid + '/' + utils.slugify(title); + topicData.slug = tid + '/' + (utils.slugify(title) || 'topic'); } if (data.topic_thumb) {