@@ -301,7 +301,7 @@ class PostRepositories
$comment = $this->postComment->create($data);
if($comment->parent_id){
- $this->postComment->where('parent_id', $comment->parent_id)->increment('reply_count');
+ $this->postComment->where('id', $comment->parent_id)->increment('reply_count');
}
DB::commit();