Prechádzať zdrojové kódy

Update StatusController

Daniel Supernault 6 rokov pred
rodič
commit
3b1082032f
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      app/Http/Controllers/StatusController.php

+ 1 - 0
app/Http/Controllers/StatusController.php

@@ -30,6 +30,7 @@ class StatusController extends Controller
         }
         }
 
 
         $status = Status::whereProfileId($user->id)
         $status = Status::whereProfileId($user->id)
+                ->whereNull('reblog_of_id')
                 ->whereNotIn('visibility',['draft','direct'])
                 ->whereNotIn('visibility',['draft','direct'])
                 ->findOrFail($id);
                 ->findOrFail($id);