return;
}
- require_once 'include/conversation.php';
-
$o = Profile::getTabs($a, true);
if (!$update) {
}
$condition = ['uid' => local_user(), 'post-type' => Item::PT_PERSONAL_NOTE, 'gravity' => GRAVITY_PARENT,
- 'wall' => false, 'contact-id'=> $a->contact['id']];
+ 'contact-id'=> $a->contact['id']];
- $pager = new Pager($a->query_string, null, 40);
+ $pager = new Pager($a->query_string, 40);
$params = ['order' => ['created' => true],
'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];
$count = 0;
if (DBA::isResult($r)) {
- $notes = DBA::toArray($r);
+ $notes = Item::inArray($r);
$count = count($notes);