位置:\models\article.php
错误位置:
public function remove_comment($comment_id)
	{
		if ($comment_info = $this->get_comment_by_id($comment_id))
		{
			$this->delete('article_comments', 'id = ' . intval($comment_id));
			
			$this->update('article', array(
				'comments' => $this->count('article_comments', 'article_id = ' . intval($article_id))
			), 'id = ' . $comment_info['id']);
			
			return true;
		}
	}
$article_id 不存在
修正:
	public function remove_comment($comment_id)
	{
		if ($comment_info = $this->get_comment_by_id($comment_id))
		{
			$this->delete('article_comments', 'id = ' . intval($comment_id));
			
			$this->update('article', array(
				'comments' => $this->count('article_comments', 'article_id = ' . $comment_info['article_id'])
				), 'id = ' . $comment_info['article_id']);
			
			return true;
		}
	}
                                                                
                                     阅读全文
                                
                                
                                     收起全文