wesmiler hai 2 meses
pai
achega
0235a1c404
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/MpService.php

+ 1 - 1
app/Services/MpService.php

@@ -327,7 +327,7 @@ class MpService extends BaseService
         $aesCipher = base64_decode($encryptedData);
 
         $result = openssl_decrypt($aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV);
-        $dataObj = json_decode($result);
+        $dataObj = json_decode($result,true);
         if ($dataObj == NULL) {
             $this->error = -41003;
             return false;