Procházet zdrojové kódy

Error en el decode, retorna array.

Maximiliano Schvindt před 6 roky
rodič
revize
f1257b6206
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      Services/RedisService.php

+ 2 - 1
Services/RedisService.php

@@ -177,8 +177,9 @@ class RedisService extends Redis implements CollectorInterface
             print_r("HGET '{$key}': {$t} segundos" . PHP_EOL);
         }
 
+        
         if($_data) 
-            return json_decode($_data,true);
+            return $_data;
         
         return array();
     }