Merge branch 'rewrites/is_filled_array_introduced' into rhaeder-develop

This commit is contained in:
Roland Haeder 2016-03-12 23:03:06 +01:00
commit e48c446a29
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -792,7 +792,7 @@ function network_content(&$a, $update = 0) {
$parents_str = ''; $parents_str = '';
$date_offset = ""; $date_offset = "";
if(count($r)) { if(dba::is_result($r)) {
foreach($r as $rr) foreach($r as $rr)
if(! in_array($rr['item_id'],$parents_arr)) if(! in_array($rr['item_id'],$parents_arr))
$parents_arr[] = $rr['item_id']; $parents_arr[] = $rr['item_id'];