]> git.mxchange.org Git - friendica.git/commitdiff
Changed "??" to "?:"
authorMichael <heluecht@pirati.ca>
Thu, 19 Dec 2019 12:39:30 +0000 (12:39 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 19 Dec 2019 12:39:30 +0000 (12:39 +0000)
include/api.php

index 55a5d6f6d677ec5c8f4b8bb9b6e4a68e231bddd7..5c708c0b70a079cdc6f65fb9bbd6735a4bf960aa 100644 (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']) {