Add missing non-empty data condition to Protocol\PortableContact
This commit is contained in:
parent
066ad8c01b
commit
1eb607b351
|
@ -1698,8 +1698,8 @@ class PortableContact
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$success && (Config::get('system', 'poco_discovery') > 2)) {
|
if (!$success && !empty($data) && Config::get('system', 'poco_discovery') >= self::USERS_GCONTACTS_FALLBACK) {
|
||||||
Logger::log("Fetch contacts from users of the server " . $server["nurl"], Logger::DEBUG);
|
Logger::info("Fetch contacts from users of the server " . $server["nurl"]);
|
||||||
self::discoverServerUsers($data, $server);
|
self::discoverServerUsers($data, $server);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue