]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - extlib/Auth/Yadis/PlainHTTPFetcher.php
Fix undefined variable
[quix0rs-gnu-social.git] / extlib / Auth / Yadis / PlainHTTPFetcher.php
index 3e0ca2bb0c7302f5496244f4d9b36bd3fc1ce56a..26890539aad69fa3c991d2c41c04c1140ee1a4a0 100644 (file)
@@ -122,7 +122,7 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
             $code = $http_code[1];
 
             if (in_array($code, array('301', '302'))) {
-                $url = $this->_findRedirect($headers);
+                $url = $this->_findRedirect($headers, $url);
                 $redir = true;
             } else {
                 $redir = false;
@@ -246,4 +246,3 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
     }
 }
 
-?>
\ No newline at end of file