Explorar o código

Update StatusService, fix missing account condition

Daniel Supernault %!s(int64=2) %!d(string=hai) anos
pai
achega
f48daab37e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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) {