chengwl před 4 roky
rodič
revize
c65e124d01
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"){