Merge pull request #5123 from patschi/patch-2

[stable12] Backported Fix #5059
This commit is contained in:
Morris Jobke 2017-06-08 20:07:25 -05:00 committed by GitHub
commit 5722afc1d7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}