wesmiler 2 bulan lalu
induk
melakukan
0235a1c404
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;