chengwl 4 年 前
コミット
c65e124d01
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/GA.php

+ 1 - 1
lib/GA.php

@@ -646,7 +646,7 @@ class GA{
         $reports= $analytics->reports->batchGet( $body );
         
         $result=$this->getResults($reports);
-         return $result;
+         return $result[0]??[];
 
     }
     public function storeSellData($dp,$start_at,$end_at,$type="day"){