From 56f0ee4915d1441a44670d32919777c5a3fae96b Mon Sep 17 00:00:00 2001 From: Domovoy Date: Sun, 29 Jul 2012 20:41:11 +0200 Subject: [PATCH] Threaded items on profile page --- include/conversation.php | 1 - mod/profile.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 1adb39bb1..795458d91 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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; diff --git a/mod/profile.php b/mod/profile.php index a3e25b76a..eeacd15d5 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -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')) {