chengwl 4 năm trước cách đây
mục cha
commit
527e0a0ad2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      lib/GA.php

+ 2 - 2
lib/GA.php

@@ -93,8 +93,8 @@ class GA{
     */
     public function getData($config){
         $dp=$config['dp']??"";
-
-        if(!$dp|$date||empty($config['metricArr'])){
+        $date=$config['date'];
+        if(!$dp||!$date||empty($config['metricArr'])){
             return false;
         }