mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Fix warning
This commit is contained in:
parent
2d73a4bc58
commit
5b169c908b
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class ActivityPub
|
|||
$limited = DI::config()->get('system', 'limited_servers');
|
||||
if (!empty($limited)) {
|
||||
$servers = explode(',', str_replace(' ', '', $limited));
|
||||
$host = parse_url($contact['baseurl'], PHP_URL_HOST);
|
||||
$host = parse_url($apcontact['baseurl'], PHP_URL_HOST);
|
||||
if (!empty($host) && in_array($host, $servers)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue