diff --git a/include/conversation.php b/include/conversation.php index 795458d911..8e09589fbb 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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");