Explorar o código

Update Profile model

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
825fcd6fe4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Profile.php

+ 1 - 0
app/Profile.php

@@ -156,6 +156,7 @@ class Profile extends Model
     public function statusCount()
     {
         return $this->statuses()
+        ->getQuery()
         ->whereHas('media')
         ->whereNull('in_reply_to_id')
         ->whereNull('reblog_of_id')