diff --git a/src/User/User.php b/src/User/User.php index 3fc2f2110..45c248059 100644 --- a/src/User/User.php +++ b/src/User/User.php @@ -753,7 +753,7 @@ class User extends AbstractModel */ public function refreshCommentCount() { - $this->comment_count = $this->posts()->count(); + $this->comment_count = $this->posts()->where('type', 'comment')->count(); return $this; }