breaking change in fpdb, again, fixed (global $post was not set)

This commit is contained in:
real_nowhereman 2009-12-05 18:12:04 +00:00
parent a20fb1702a
commit 970036e866

View File

@ -380,10 +380,13 @@
$this->comments = new FPDB_CommentList($qp->id, comment_getlist($qp->id));
$entry['comments'] = $this->comments->getCount();
}
$post = $entry;
if (!$entry) return $return;
} else {
$entry = array('subject' => $v);
$post = $entry;
}
$return = array($this->params->id, $entry);