]> git.mxchange.org Git - friendica.git/blobdiff - include/socgraph.php
fix twitter title showing up occasionally
[friendica.git] / include / socgraph.php
old mode 100644 (file)
new mode 100755 (executable)
index 60bf075..79d7340
@@ -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) {