v1.18.x
barisusakli 9 years ago
parent e3077b0ab0
commit 35a7554ec7

@ -59,7 +59,7 @@ module.exports = function(Topics) {
return; return;
} }
topic.titleRaw = topic.title; topic.titleRaw = topic.title;
topic.title = validator.escape(topic.title); topic.title = validator.escape(String(topic.title));
topic.timestampISO = utils.toISOString(topic.timestamp); topic.timestampISO = utils.toISOString(topic.timestamp);
topic.lastposttimeISO = utils.toISOString(topic.lastposttime); topic.lastposttimeISO = utils.toISOString(topic.lastposttime);
} }

Loading…
Cancel
Save