Issue 6257: Make notes visible again
This commit is contained in:
parent
2d9e1b8ec2
commit
f6c3974c8f
2 changed files with 3 additions and 3 deletions
|
@ -497,7 +497,7 @@ function conversation(App $a, array $items, Pager $pager, $mode, $update, $previ
|
|||
}
|
||||
}
|
||||
} elseif ($mode === 'notes') {
|
||||
$items = conversation_add_children($items, false, $order, $uid);
|
||||
$items = conversation_add_children($items, false, $order, local_user());
|
||||
$profile_owner = local_user();
|
||||
|
||||
if (!$update) {
|
||||
|
|
|
@ -59,7 +59,7 @@ function notes_content(App $a, $update = false)
|
|||
}
|
||||
|
||||
$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, 40);
|
||||
|
||||
|
@ -70,7 +70,7 @@ function notes_content(App $a, $update = false)
|
|||
$count = 0;
|
||||
|
||||
if (DBA::isResult($r)) {
|
||||
$notes = DBA::toArray($r);
|
||||
$notes = Item::inArray($r);
|
||||
|
||||
$count = count($notes);
|
||||
|
||||
|
|
Loading…
Reference in a new issue