aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-12-20 17:18:19 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-12-20 17:18:19 +0100
commitba732c97c10a1f6f712f78c97d7d9bd51c104160 (patch)
tree2e590cb581be00c29d1ef5914a8d6d9bd924b910 /include/socgraph.php
parentf3b499f1192a3cc2386aa639d2f0d2fa147e911a (diff)
parentc0c4c46874ed7e1798900422112ca643c1bb3cc0 (diff)
downloadvolse-hubzilla-ba732c97c10a1f6f712f78c97d7d9bd51c104160.tar.gz
volse-hubzilla-ba732c97c10a1f6f712f78c97d7d9bd51c104160.tar.bz2
volse-hubzilla-ba732c97c10a1f6f712f78c97d7d9bd51c104160.zip
Merge remote-tracking branch 'friendica/master'
Diffstat (limited to 'include/socgraph.php')
-rw-r--r--include/socgraph.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index 60bf075d3..79d7340a4 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -58,6 +58,9 @@ function poco_load($cid,$uid = 0,$url = null) {
logger('poco_load: json: ' . print_r($j,true),LOGGER_DATA);
+ if(! isset($j->entry))
+ return;
+
$total = 0;
foreach($j->entry as $entry) {