Fix fatal error
This commit is contained in:
parent
49c05036ae
commit
17bb1eaf12
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue