aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
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) {