Merge pull request #15343 from nextcloud/backport/15122/stable14

[stable14] Check if the data is in the lookup server
This commit is contained in:
Roeland Jago Douma 2019-05-02 13:23:05 +02:00 committed by GitHub
commit 07c97edd08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,7 @@ class VerifyUserData extends Job {
$lookupServerData = $this->queryLookupServer($cloudId);
// for some reasons we couldn't read any data from the lookup server, try again later
if (empty($lookupServerData)) {
if (empty($lookupServerData) || empty($lookupServerData[$dataType])) {
return false;
}