Skip to content

Commit db226db

Browse files
authored
Merge pull request #29123 from nextcloud/bug/29119/decode-object-to-array
Set associative = true for cleanup job
2 parents f518710 + 240eb02 commit db226db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Security/VerificationToken/CleanUpJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct(ITimeFactory $time, IConfig $config, IVerificationTo
5959

6060
public function setArgument($argument) {
6161
parent::setArgument($argument);
62-
$args = \json_decode($argument);
62+
$args = \json_decode($argument, true);
6363
$this->userId = (string)$args['userId'];
6464
$this->subject = (string)$args['subject'];
6565
$this->pwdPrefix = (string)$args['pp'];

0 commit comments

Comments
 (0)