Browse Source
Merge pull request #29123 from nextcloud/bug/29119/decode-object-to-array
Set associative = true for cleanup job
pull/29128/head
Daniel
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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']; |
|
|
|
|