diff options
author | friendica <info@friendica.com> | 2014-03-24 19:01:20 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-24 19:01:20 -0700 |
commit | 235b0335608439b98d74a205a380d0f77baf6b4f (patch) | |
tree | dac64b919caaab4a563637bc72ed49ea58f0b98c /include/socgraph.php | |
parent | 10f18675214acff5b4246bd6c4b13807b8e0e44f (diff) | |
download | volse-hubzilla-235b0335608439b98d74a205a380d0f77baf6b4f.tar.gz volse-hubzilla-235b0335608439b98d74a205a380d0f77baf6b4f.tar.bz2 volse-hubzilla-235b0335608439b98d74a205a380d0f77baf6b4f.zip |
that should fix it.
Diffstat (limited to 'include/socgraph.php')
-rw-r--r-- | include/socgraph.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/socgraph.php b/include/socgraph.php index 10d52da66..65e23f9df 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -62,6 +62,11 @@ function poco_load($xchan = '',$url = null) { $j = json_decode($s['body'],true); + if(! $j) { + logger('poco_load: unable to json_decode returned data.'); + return; + } + logger('poco_load: ' . print_r($j,true),LOGGER_DATA); if($xchan) { |