mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Fix PHP 7.2 Warning in Model\Contact
This commit is contained in:
parent
a029439686
commit
c651641856
1 changed files with 4 additions and 2 deletions
|
@ -1070,9 +1070,11 @@ class Contact extends BaseObject
|
|||
'limit' => [$a->pager['start'], $a->pager['itemspage']]];
|
||||
$r = Item::select(local_user(), [], $condition, $params);
|
||||
|
||||
$o = conversation($a, dba::inArray($r), 'contact-posts', false);
|
||||
$items = dba::inArray($r);
|
||||
|
||||
$o = conversation($a, $items, 'contact-posts', false);
|
||||
|
||||
$o .= alt_pager($a, count($r));
|
||||
$o .= alt_pager($a, count($items));
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue