chengwl 4 년 전
부모
커밋
ac0bfa051c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/GA.php

+ 1 - 1
lib/GA.php

@@ -145,7 +145,7 @@ class GA{
             }
         }
         if(!empty($segment)){
-            $request->setSegments(array($segment));
+            $request->setSegments($segment);
         }
         if(isset($config['orderBy'])&&!empty($config['orderBy'])){
             $orderBy=new \Google_Service_AnalyticsReporting_OrderBy();