Skip to content

Commit b5db533

Browse files
committed
Merge branch '2.x' into 3.x
2 parents 7e0ecc5 + 1399d93 commit b5db533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encryption/src/Encrypter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function encryptString($value)
153153
*/
154154
public function decrypt($payload, $unserialize = true)
155155
{
156-
$payload = $this->getJsonPayload($payload);
156+
$payload = $this->getJsonPayload((string) $payload);
157157
$iv = base64_decode($payload['iv']);
158158
$tag = empty($payload['tag']) ? null : base64_decode($payload['tag']);
159159

0 commit comments

Comments
 (0)