Changed "??" to "?:"

This commit is contained in:
Michael 2019-12-19 12:39:30 +00:00
parent 6dbaf34290
commit 295ee82a61

View file

@ -5104,10 +5104,10 @@ function api_friendica_remoteauth()
$cid = $contact['id'];
$dfrn_id = $contact['issued-id'] ?? $contact['dfrn-id'];
$dfrn_id = $contact['issued-id'] ?: $contact['dfrn-id'];
if (($contact['network'] !== Protocol::DFRN) || empty($dfrn_id)) {
System::externalRedirect($url ?? $c_url);
System::externalRedirect($url ?: $c_url);
}
if ($contact['duplex'] && $contact['issued-id']) {