Browse Source

Update AdminReportController

Daniel Supernault 3 năm trước cách đây
mục cha
commit
b37c805172
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Admin/AdminReportController.php

+ 1 - 1
app/Http/Controllers/Admin/AdminReportController.php

@@ -500,7 +500,7 @@ trait AdminReportController
 					return $account;
 				})
 				->filter(function($res) {
-					return isset($res['id']);
+					return $res && isset($res['id']);
 				})
 				->values();
     	}