apply fix from 8d03774
to z_post_url also
This commit is contained in:
parent
426f01d849
commit
fbbcc10025
@ -239,7 +239,7 @@ function z_post_url($url,$params, $redirects = 0, $opts = array()) {
|
|||||||
if($http_code == 303) {
|
if($http_code == 303) {
|
||||||
return z_fetch_url($newurl,false,$redirects++,$opts);
|
return z_fetch_url($newurl,false,$redirects++,$opts);
|
||||||
} else {
|
} else {
|
||||||
return z_post_url($newurl,$params,$redirects++,$opts);
|
return z_post_url($newurl,$params,++$redirects,$opts);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user