chengwl %!s(int64=4) %!d(string=hai) anos
pai
achega
527e0a0ad2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
         }