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
parent 090aa51234
commit 626f781bda
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

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