mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
fix for removing topic thumb on edit
This commit is contained in:
@@ -121,9 +121,7 @@ module.exports = function(Posts) {
|
||||
topicData.slug = tid + '/' + (utils.slugify(title) || 'topic');
|
||||
}
|
||||
|
||||
if (data.topic_thumb) {
|
||||
topicData.thumb = data.topic_thumb;
|
||||
}
|
||||
topicData.thumb = data.topic_thumb || '';
|
||||
|
||||
data.tags = data.tags || [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user