aboutsummaryrefslogtreecommitdiffstats
path: root/mod/authtest.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-05 18:17:16 -0800
committerfriendica <info@friendica.com>2013-12-05 18:17:16 -0800
commit38577cf26cc241245731f786704ac773bfc52952 (patch)
treeda86e71b04e884267543a8c039efb40e8ca0edac /mod/authtest.php
parent539988b62f20d73f097ee24d5a7fb6d23fa9fd4d (diff)
downloadvolse-hubzilla-38577cf26cc241245731f786704ac773bfc52952.tar.gz
volse-hubzilla-38577cf26cc241245731f786704ac773bfc52952.tar.bz2
volse-hubzilla-38577cf26cc241245731f786704ac773bfc52952.zip
issue #225
Diffstat (limited to 'mod/authtest.php')
-rw-r--r--mod/authtest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/authtest.php b/mod/authtest.php
index ec32fe171..2c8d7b4b4 100644
--- a/mod/authtest.php
+++ b/mod/authtest.php
@@ -31,6 +31,8 @@ function authtest_content(&$a) {
$z = z_fetch_url($x['url'] . '&test=1');
if($z['success']) {
$j = json_decode($z['body'],true);
+ if(! $j)
+ $o .= 'json_decode failure from remote site. ' . print_r($z['body'],true);
$o .= 'Remote site responded: ' . print_r($j,true);
}
else {