Fix for vanishing notes (#5531)

* Fix for vanishing notes

* The field needs to be part of the selected fields ...
This commit is contained in:
Michael Vogel 2018-07-31 04:23:48 +02:00 committed by Hypolite Petovan
parent 4d39164c1e
commit c39e0dcf2a
2 changed files with 4 additions and 4 deletions

View file

@ -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, 'allow_cid' => '<' . $a->contact['id'] . '>', 'contact-id'=> $a->contact['id']];
'wall' => false, 'contact-id'=> $a->contact['id']];
$a->set_pager_itemspage(40);