mirror of
https://github.com/friendica/friendica
synced 2024-11-19 01:03:40 +00:00
commit
5f9edf32d2
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class GContact
|
||||||
throw new Exception('URL is empty');
|
throw new Exception('URL is empty');
|
||||||
}
|
}
|
||||||
|
|
||||||
$gcontact['server_url'] = defaults($gcontact, 'server_url', '');
|
$gcontact['server_url'] = $gcontact['server_url'] ?? '';
|
||||||
|
|
||||||
$urlparts = parse_url($gcontact['url']);
|
$urlparts = parse_url($gcontact['url']);
|
||||||
if (empty($urlparts['scheme'])) {
|
if (empty($urlparts['scheme'])) {
|
||||||
|
|
Loading…
Reference in a new issue