brought back comments

This commit is contained in:
real_nowhereman 2009-12-05 15:29:24 +00:00
parent b311abe245
commit a20fb1702a

View File

@ -376,6 +376,11 @@
$v = $idx->getitem($key);
if ($qp->fullparse) {
$entry = entry_parse($qp->id);
if ($entry && $qp->comments) {
$this->comments = new FPDB_CommentList($qp->id, comment_getlist($qp->id));
$entry['comments'] = $this->comments->getCount();
}
if (!$entry) return $return;
} else {
$entry = array('subject' => $v);