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)