mirror of
https://github.com/friendica/friendica-directory
synced 2024-06-14 09:56:23 +02:00
Fix empty admin profile in server poller
This commit is contained in:
parent
a319f9991c
commit
dadcf3239f
|
@ -173,7 +173,9 @@ class Server
|
|||
);
|
||||
|
||||
//Add the admin to the directory
|
||||
$this->profilePollQueueModel->add($probe_result['data']['admin']['profile']);
|
||||
if (!empty($probe_result['data']['admin']['profile'])) {
|
||||
$this->profilePollQueueModel->add($probe_result['data']['admin']['profile']);
|
||||
}
|
||||
}
|
||||
|
||||
if ($server) {
|
||||
|
|
Loading…
Reference in a new issue