]> git.mxchange.org Git - friendica.git/blobdiff - mod/redir.php
Merge remote-tracking branch 'upstream/develop' into no-item
[friendica.git] / mod / redir.php
index 4069518cddb5ad8163a2cb00e315271f3b981104..b2f76738bee74f020673e9a2a4bd69db960e83bd 100644 (file)
@@ -170,7 +170,7 @@ function redir_magic($a, $cid, $url)
        }
 
        // Test for magic auth on the target system
-       $serverret = DI::httpRequest()->curl($basepath . '/magic');
+       $serverret = DI::httpRequest()->get($basepath . '/magic');
        if ($serverret->isSuccess()) {
                $separator = strpos($target_url, '?') ? '&' : '?';
                $target_url .= $separator . 'zrl=' . urlencode($visitor) . '&addr=' . urlencode($contact_url);