Pull Request 

Please use $db->search, it should be
$rows = $db->search('comment', 'thread_id = ?', array($this->id), 'created ASC');