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
parent
commit
db226dbd35
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/Security/VerificationToken/CleanUpJob.php

2
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'];

Loading…
Cancel
Save