diff options
author | friendica <info@friendica.com> | 2015-02-23 11:33:16 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-23 11:33:16 -0800 |
commit | fbbcc10025bdf01c17a80a1b790e1f72dcaa8b2c (patch) | |
tree | 6d0e80e1dc0cde18da89f09d3f8cd15f9a0b321d /include | |
parent | 426f01d849b02768802b83e49865807465390a7e (diff) | |
download | volse-hubzilla-fbbcc10025bdf01c17a80a1b790e1f72dcaa8b2c.tar.gz volse-hubzilla-fbbcc10025bdf01c17a80a1b790e1f72dcaa8b2c.tar.bz2 volse-hubzilla-fbbcc10025bdf01c17a80a1b790e1f72dcaa8b2c.zip |
apply fix from 8d03774 to z_post_url also
Diffstat (limited to 'include')
-rw-r--r-- | include/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php index 6874063ab..db32396e4 100644 --- a/include/network.php +++ b/include/network.php @@ -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); } } } |