]> git.mxchange.org Git - friendica.git/commitdiff
Threaded items on profile page
authorDomovoy <domovoy@errlock.org>
Sun, 29 Jul 2012 18:41:11 +0000 (20:41 +0200)
committerDomovoy <domovoy@errlock.org>
Sun, 29 Jul 2012 18:41:11 +0000 (20:41 +0200)
include/conversation.php
mod/profile.php

index 1adb39bb11cedfc22dc5b2e410b0ab2e3a2689ed..795458d911b5136a518395938851181f4e58caba 100644 (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;
index a3e25b76a119324c1fd5e18b379cab4f83035861..eeacd15d543703e9ac9dd1b1c5c638d1da790a09 100644 (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')) {