]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set associative = true for cleanup job 29123/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 7 Oct 2021 18:19:24 +0000 (20:19 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 7 Oct 2021 18:20:09 +0000 (20:20 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/private/Security/VerificationToken/CleanUpJob.php

index 331172898ec1e2db6052d17d8f8958cb130705fa..be9d24ece45ea54e1ae7b8508298245d321ecbaa 100644 (file)
@@ -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'];