Merge pull request #4447 from BenLubar/empty-topic-slug

save slug correctly on edit
v1.18.x
Barış Soner Uşaklı 9 years ago
commit 2059352ca7

@ -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) {

Loading…
Cancel
Save