diff --git a/app/Services/StatusHashtagService.php b/app/Services/StatusHashtagService.php index d656e436a..497fe8642 100644 --- a/app/Services/StatusHashtagService.php +++ b/app/Services/StatusHashtagService.php @@ -30,6 +30,9 @@ class StatusHashtagService { ->map(function ($i, $k) use ($id) { return self::getStatus($i, $id); }) + ->filter(function ($i) { + return isset($i['status']) && !empty($i['status']); + }) ->all(); } @@ -72,4 +75,4 @@ class StatusHashtagService { { return ['status' => StatusService::get($statusId)]; } -} \ No newline at end of file +}