From 7b2ca538c8acc78b3f7366cdb06434880d7ba3fd Mon Sep 17 00:00:00 2001 From: Domovoy Date: Sun, 29 Jul 2012 21:11:19 +0200 Subject: [PATCH] Fallback to the old behavior for unhandled conversations mode. --- include/conversation.php | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 2.39.5