chengwl 4 years ago
parent
commit
527e0a0ad2
1 changed files with 2 additions and 2 deletions
  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;
         }