]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
Merge pull request #9843 from annando/no-filetag
[friendica.git] / mod / dfrn_request.php
index 3f784015ddccc2660e216826542b329cae259c27..47478d384833823639ea19a6609c9333eb690bc3 100644 (file)
@@ -299,7 +299,7 @@ function dfrn_request_post(App $a)
                $network = $data["network"];
 
                // Canonicalize email-style profile locator
-               $url = Probe::webfingerDfrn($data['url'], $hcard);
+               $url = Probe::webfingerDfrn($data['url'] ?? $url, $hcard);
 
                if (substr($url, 0, 5) === 'stat:') {
                        // Every time we detect the remote subscription we define this as OStatus.