chengwl 4 tahun lalu
induk
melakukan
a115e5d0ab
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      controllers/IndexController.php

+ 1 - 1
controllers/IndexController.php

@@ -79,7 +79,7 @@ class IndexController extends Controller
           ];
           $i=1;
           $list=[];
-          foreach($metrics as $metric){
+          foreach($metricsArr as $metric){
             $lis[]=$metric;
             if($i%10==0||count($metrics)==$i){
                 $response = $this->getReport($analytics);