Fix fatal error
This commit is contained in:
parent
49c05036ae
commit
17bb1eaf12
|
@ -126,7 +126,7 @@ class GContact
|
|||
throw new Exception('URL is empty');
|
||||
}
|
||||
|
||||
$gcontact['server_url'] = defaults($gcontact, 'server_url', '');
|
||||
$gcontact['server_url'] = $gcontact['server_url'] ?? '';
|
||||
|
||||
$urlparts = parse_url($gcontact['url']);
|
||||
if (empty($urlparts['scheme'])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user