X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fnetwork.php;h=6ebedbcae8ff27f9ce63516080dacee98508cadf;hb=2d63f9deb646d30c60927026b83e08d0f47c381a;hp=73cb0eba287d846e269564955663db264c68c5a7;hpb=f8a20a15d33c1fb8039a6ce15ad8c55a06ba0cc3;p=friendica.git diff --git a/mod/network.php b/mod/network.php index 73cb0eba28..6ebedbcae8 100644 --- a/mod/network.php +++ b/mod/network.php @@ -704,7 +704,7 @@ function network_content(&$a, $update = 0) { $parents_str = ''; $date_offset = ""; - if(count($r)) { + if(dbm::is_result($r)) { foreach($r as $rr) if(! in_array($rr['item_id'],$parents_arr)) $parents_arr[] = $rr['item_id'];