1
0
Fork 0

Threaded items on profile page

This commit is contained in:
Domovoy 2012-07-29 20:41:11 +02:00
parent 3b330510ea
commit 56f0ee4915
2 changed files with 1 additions and 2 deletions

View file

@ -467,7 +467,6 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr
if($items_seen == 1) {
$firstcollapsed = true;
}
logger('Thread level: '. $thread_level .', items seen: '. $items_seen .', nb items: '. $nb_items .', body: ['. $item['body'] .']', LOGGER_DEBUG);
if($thread_level > 2) {
if($items_seen == $nb_items)
$lastcollapsed = true;

View file

@ -310,7 +310,7 @@ function profile_content(&$a, $update = 0) {
);
}
$o .= conversation($a,$items,'profile',$update);
$o .= conversation($a,$items,'profile',$update, false, true);
if(! $update) {
if(! get_pconfig($a->profile['profile_uid'],'system','alt_pager')) {