mirror of
https://github.com/friendica/friendica
synced 2024-12-22 08:09:45 +01:00
Changed "??" to "?:"
This commit is contained in:
parent
6dbaf34290
commit
295ee82a61
1 changed files with 2 additions and 2 deletions
|
@ -5104,10 +5104,10 @@ function api_friendica_remoteauth()
|
||||||
|
|
||||||
$cid = $contact['id'];
|
$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)) {
|
if (($contact['network'] !== Protocol::DFRN) || empty($dfrn_id)) {
|
||||||
System::externalRedirect($url ?? $c_url);
|
System::externalRedirect($url ?: $c_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($contact['duplex'] && $contact['issued-id']) {
|
if ($contact['duplex'] && $contact['issued-id']) {
|
||||||
|
|
Loading…
Reference in a new issue