Check if the data is in the lookup server

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-04-16 08:40:17 +02:00 committed by Backportbot
parent 755543879b
commit 95461ad82d

View file

@ -205,7 +205,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;
}