Browse Source

Update StatusService, fix missing account condition

Daniel Supernault 2 years ago
parent
commit
f48daab37e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/Services/StatusService.php

+ 4 - 0
app/Services/StatusService.php

@@ -47,6 +47,10 @@ class StatusService
 			return null;
 		}
 
+		if(!isset($status['account'])) {
+			return null;
+		}
+
         $status['replies_count'] = $status['reply_count'];
 
 		if(config('exp.emc') == false) {