The fetch function now centrally controls the content

This commit is contained in:
Michael 2018-06-24 10:48:29 +00:00
parent 62a61a95d3
commit b03db4643f
14 changed files with 56 additions and 43 deletions

View file

@ -347,7 +347,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
Item::update(['unseen' => false], $condition);
}
$items = conv_sort(dba::inArray($items_obj), "`commented`");
$items = conv_sort(Item::inArray($items_obj), "`commented`");
if (!$update) {
$o .= "<script> var netargs = '?f=&item_id=" . $item_id . "'; </script>";