aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-07 20:42:57 -0700
committerfriendica <info@friendica.com>2014-10-07 20:42:57 -0700
commitb595f9d3ee265abc9730f31dd98d75cca03c6e84 (patch)
tree0f3ed34c9bda459fd3ca3a80ab46671461037fc4
parentfa75d43b819ec7dc461fe8a8f27531e0a6941d19 (diff)
downloadvolse-hubzilla-b595f9d3ee265abc9730f31dd98d75cca03c6e84.tar.gz
volse-hubzilla-b595f9d3ee265abc9730f31dd98d75cca03c6e84.tar.bz2
volse-hubzilla-b595f9d3ee265abc9730f31dd98d75cca03c6e84.zip
log the recursive reshare from hell at logger_debug until we get through this mess.
-rwxr-xr-xinclude/diaspora.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index f650f0831..f0687e51e 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -907,12 +907,12 @@ function get_diaspora_reshare_xml($url,$recurse = 0) {
$x = z_fetch_url($url);
if(! $x['success'])
- $x = z_fetch_url(str_replace('https://','http://',$source_url));
+ $x = z_fetch_url(str_replace('https://','http://',$url));
if(! $x['success']) {
- logger('get_diaspora_reshare_xml: unable to fetch source url ' . $source_url);
+ logger('get_diaspora_reshare_xml: unable to fetch source url ' . $url);
return;
}
- logger('diaspora_reshare: source: ' . $x['body'], LOGGER_DATA);
+ logger('get_diaspora_reshare_xml: source: ' . $x['body'], LOGGER_DEBUG);
$source_xml = parse_xml_string($x['body'],false);