This commit is contained in:
Garvin Hicking 2011-04-11 12:40:15 +00:00
parent defb3ff1fd
commit e1789fa02f

View File

@ -273,7 +273,8 @@ function serendipity_fetchComments($id, $limit = null, $order = '', $showAll = f
e.id AS entryid, e.id AS entryid,
e.authorid, e.authorid,
co.id AS commentid, co.id AS commentid,
co.parent_id AS parent_id co.parent_id AS parent_id,
co.status
FROM FROM
{$serendipity['dbPrefix']}comments AS co {$serendipity['dbPrefix']}comments AS co
LEFT JOIN {$serendipity['dbPrefix']}entries AS e ON (co.entry_id = e.id) LEFT JOIN {$serendipity['dbPrefix']}entries AS e ON (co.entry_id = e.id)