This commit is contained in:
Barış Soner Uşaklı
2022-03-02 15:00:27 -05:00
parent 5479f36443
commit 7ee4e4e004
2 changed files with 6 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ module.exports = function (Categories) {
if (!topic.scheduled && topic.deleted && !topic.isOwner) {
topic.title = '[[topic:topic_is_deleted]]';
if (topic.hasOwnProperty('titleRaw')) {
topics.titleRaw = '[[topic:topic_is_deleted]]';
topic.titleRaw = '[[topic:topic_is_deleted]]';
}
topic.slug = topic.tid;
topic.teaser = null;