From bca2755c3e3b10366071330a5cc7526a01be2f06 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 20 Apr 2014 01:31:17 -0400 Subject: [PATCH] possible fix for #1410 --- src/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics.js b/src/topics.js index e4accc9250..3326cfaef9 100644 --- a/src/topics.js +++ b/src/topics.js @@ -328,7 +328,7 @@ var async = require('async'), posts.getPostFields(pid, ['pid', 'uid', 'timestamp'], function(err, postData) { if (err) { return callback(err); - } else if(!postData || !postData.uid) { + } else if(!postData || !utils.isNumber(postData.uid)) { return callback(new Error('[[error:no-teaser]]')); }