Browse Source

Fix PHP 7.2 Warning in Model\Contact

pull/5227/head
Hypolite Petovan 3 years ago
parent
commit
c651641856
  1. 6
      src/Model/Contact.php

6
src/Model/Contact.php

@ -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…
Cancel
Save