Update ReportController.php

pull/6670/head
Shlee 2 months ago committed by GitHub
parent c8bed78bee
commit 6f5f6e3368
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -148,6 +148,7 @@ class ReportController extends Controller
switch ($object_type) {
case 'post':
case 'comment':
$object = Status::findOrFail($object_id);
$object_type = 'App\Status';
$exists = Report::whereUserId(Auth::id())

Loading…
Cancel
Save