chengwl há 4 anos atrás
pai
commit
527e0a0ad2
1 ficheiros alterados com 2 adições e 2 exclusões
  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;
         }