The content generation for the display page is now using a centralized function (#5642)

* The content generation for the display page is now using a centralized function

* Small correction to avoid notices
This commit is contained in:
Michael Vogel 2018-08-20 22:32:55 +02:00 committed by Hypolite Petovan
parent d7395299fb
commit d9b44153da
2 changed files with 15 additions and 15 deletions

View file

@ -499,6 +499,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o
. "; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
} elseif ($mode === 'display') {
$items = conversation_add_children($items, false, $order, $uid);
$profile_owner = $a->profile['uid'];
if (!$update) {