Merge pull request #5123 from patschi/patch-2
[stable12] Backported Fix #5059
This commit is contained in:
commit
5722afc1d7
|
@ -231,7 +231,7 @@ class VerifyUserData extends Job {
|
|||
|
||||
$body = json_decode($response->getBody(), true);
|
||||
|
||||
if ($body['federationId'] === $cloudId) {
|
||||
if (is_array($body) && isset($body['federationId']) && $body['federationId'] === $cloudId) {
|
||||
return $body;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue