From: Daniel Kesselberg Date: Thu, 7 Oct 2021 18:19:24 +0000 (+0200) Subject: Set associative = true for cleanup job X-Git-Tag: v23.0.0beta1~78^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F29123%2Fhead;p=nextcloud-server.git Set associative = true for cleanup job Signed-off-by: Daniel Kesselberg --- diff --git a/lib/private/Security/VerificationToken/CleanUpJob.php b/lib/private/Security/VerificationToken/CleanUpJob.php index 331172898ec..be9d24ece45 100644 --- a/lib/private/Security/VerificationToken/CleanUpJob.php +++ b/lib/private/Security/VerificationToken/CleanUpJob.php @@ -59,7 +59,7 @@ class CleanUpJob extends \OCP\BackgroundJob\Job { public function setArgument($argument) { parent::setArgument($argument); - $args = \json_decode($argument); + $args = \json_decode($argument, true); $this->userId = (string)$args['userId']; $this->subject = (string)$args['subject']; $this->pwdPrefix = (string)$args['pp'];