aboutsummaryrefslogtreecommitdiffstats
path: root/include/gprobe.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-18 15:15:55 -0800
committerfriendica <info@friendica.com>2013-02-18 15:15:55 -0800
commit65912ec0bfb112fd3dca4a8823bb834a1b1c80fc (patch)
tree4d4e6f6386bb85617b4a4f58133b5eaecc23d1ff /include/gprobe.php
parenta21e6cffa184d78b6214a0306e2d2a7bbfc8ddb1 (diff)
downloadvolse-hubzilla-65912ec0bfb112fd3dca4a8823bb834a1b1c80fc.tar.gz
volse-hubzilla-65912ec0bfb112fd3dca4a8823bb834a1b1c80fc.tar.bz2
volse-hubzilla-65912ec0bfb112fd3dca4a8823bb834a1b1c80fc.zip
moving on
Diffstat (limited to 'include/gprobe.php')
-rw-r--r--include/gprobe.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gprobe.php b/include/gprobe.php
index 25b56525a..2cc87d149 100644
--- a/include/gprobe.php
+++ b/include/gprobe.php
@@ -20,8 +20,8 @@ function gprobe_run($argv, $argc){
if(! $r) {
$x = zot_finger($url,null);
- if($x) {
- $j = json_decode($x,true);
+ if($x['success']) {
+ $j = json_decode($x['body'],true);
$y = import_xchan($j);
}
}