brought back comments
This commit is contained in:
parent
b311abe245
commit
a20fb1702a
@ -376,6 +376,11 @@
|
|||||||
$v = $idx->getitem($key);
|
$v = $idx->getitem($key);
|
||||||
if ($qp->fullparse) {
|
if ($qp->fullparse) {
|
||||||
$entry = entry_parse($qp->id);
|
$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;
|
if (!$entry) return $return;
|
||||||
} else {
|
} else {
|
||||||
$entry = array('subject' => $v);
|
$entry = array('subject' => $v);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user