Jelajahi Sumber

Error en el decode, retorna array.

Maximiliano Schvindt 6 tahun lalu
induk
melakukan
f1257b6206
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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);
             print_r("HGET '{$key}': {$t} segundos" . PHP_EOL);
         }
         }
 
 
+        
         if($_data) 
         if($_data) 
-            return json_decode($_data,true);
+            return $_data;
         
         
         return array();
         return array();
     }
     }