Просмотр исходного кода

Update StatusService, fix missing account condition

Daniel Supernault 2 лет назад
Родитель
Сommit
f48daab37e
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      app/Services/StatusService.php

+ 4 - 0
app/Services/StatusService.php

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