aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-23 11:33:16 -0800
committerfriendica <info@friendica.com>2015-02-23 11:33:16 -0800
commitfbbcc10025bdf01c17a80a1b790e1f72dcaa8b2c (patch)
tree6d0e80e1dc0cde18da89f09d3f8cd15f9a0b321d /include/network.php
parent426f01d849b02768802b83e49865807465390a7e (diff)
downloadvolse-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/network.php')
-rw-r--r--include/network.php2
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);
}
}
}