From: Michael Date: Thu, 19 Dec 2019 12:39:30 +0000 (+0000) Subject: Changed "??" to "?:" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=295ee82a61396bed233288df5c585ba392005475;p=friendica.git Changed "??" to "?:" --- diff --git a/include/api.php b/include/api.php index 55a5d6f6d6..5c708c0b70 100644 --- a/include/api.php +++ b/include/api.php @@ -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']) {