Threaded items on profile page
This commit is contained in:
parent
3b330510ea
commit
56f0ee4915
2 changed files with 1 additions and 2 deletions
|
@ -467,7 +467,6 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr
|
||||||
if($items_seen == 1) {
|
if($items_seen == 1) {
|
||||||
$firstcollapsed = true;
|
$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($thread_level > 2) {
|
||||||
if($items_seen == $nb_items)
|
if($items_seen == $nb_items)
|
||||||
$lastcollapsed = true;
|
$lastcollapsed = true;
|
||||||
|
|
|
@ -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(! $update) {
|
||||||
if(! get_pconfig($a->profile['profile_uid'],'system','alt_pager')) {
|
if(! get_pconfig($a->profile['profile_uid'],'system','alt_pager')) {
|
||||||
|
|
Loading…
Reference in a new issue