]> git.mxchange.org Git - friendica.git/commitdiff
Fallback to the old behavior for unhandled conversations mode.
authorDomovoy <domovoy@errlock.org>
Sun, 29 Jul 2012 19:11:19 +0000 (21:11 +0200)
committerDomovoy <domovoy@errlock.org>
Sun, 29 Jul 2012 19:11:19 +0000 (21:11 +0200)
include/conversation.php

index 795458d911b5136a518395938851181f4e58caba..8e09589fbb9273ace5c373e88267b3dff1cfa0e0 100644 (file)
@@ -677,6 +677,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false, $thr_c = fa
 
                        //$tpl = get_markup_template('search_item.tpl');
                        $tpl = 'search_item.tpl';
+                       $thr_c = false;
 
                        foreach($items as $item) {
                                $threadsid++;
@@ -1172,6 +1173,9 @@ function conversation(&$a, $items, $mode, $update, $preview = false, $thr_c = fa
                        }
                }
        }
+       else {
+               $thr_c = false;
+       }
 
 
        $page_template = get_markup_template("conversation.tpl");