From 240eb0258572843d76a3c3bab7a52c66afc31001 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 7 Oct 2021 20:19:24 +0200 Subject: [PATCH] Set associative = true for cleanup job Signed-off-by: Daniel Kesselberg --- lib/private/Security/VerificationToken/CleanUpJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.39.5