apply fix from 8d03774 to z_post_url also

This commit is contained in:
friendica 2015-02-23 11:33:16 -08:00
parent 426f01d849
commit fbbcc10025

View File

@ -239,7 +239,7 @@ function z_post_url($url,$params, $redirects = 0, $opts = array()) {
if($http_code == 303) {
return z_fetch_url($newurl,false,$redirects++,$opts);
} else {
return z_post_url($newurl,$params,$redirects++,$opts);
return z_post_url($newurl,$params,++$redirects,$opts);
}
}
}