From e1789fa02f3fac334512ba74fd85ef4f7c1a0373 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Mon, 11 Apr 2011 12:40:15 +0000 Subject: [PATCH] . --- include/functions_comments.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 281fd7e0..4ef019bf 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -273,7 +273,8 @@ function serendipity_fetchComments($id, $limit = null, $order = '', $showAll = f e.id AS entryid, e.authorid, co.id AS commentid, - co.parent_id AS parent_id + co.parent_id AS parent_id, + co.status FROM {$serendipity['dbPrefix']}comments AS co LEFT JOIN {$serendipity['dbPrefix']}entries AS e ON (co.entry_id = e.id)