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