diff --git a/fp-includes/core/core.entry.php b/fp-includes/core/core.entry.php index ffaefb3..ff986b6 100755 --- a/fp-includes/core/core.entry.php +++ b/fp-includes/core/core.entry.php @@ -93,6 +93,8 @@ } } + return true; + } function delete($id) { diff --git a/fp-includes/core/core.fpdb.class.php b/fp-includes/core/core.fpdb.class.php index c9dc3ce..f8e644c 100644 --- a/fp-includes/core/core.fpdb.class.php +++ b/fp-includes/core/core.fpdb.class.php @@ -339,6 +339,7 @@ $cont = array(); $cont = entry_parse($id); + if ($cont) { $this->comments =& new FPDB_CommentList($id, comment_getlist($id)); @@ -359,7 +360,7 @@ $post = $cont; $post['id'] = $id; - + $var = array(&$id, &$cont); return $var;