Check if the data is in the lookup server

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/15342/head
Joas Schilling 2019-04-16 08:40:17 +07:00 committed by Backportbot
parent 74bde2c556
commit 87a30c3e13
1 changed files with 1 additions and 1 deletions

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