Browse Source

Fix fatal error

pull/7760/head
Michael 2 years ago
parent
commit
17bb1eaf12
  1. 2
      src/Model/GContact.php

2
src/Model/GContact.php

@ -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…
Cancel
Save