Fallback to the old behavior for unhandled conversations mode.

This commit is contained in:
Domovoy 2012-07-29 21:11:19 +02:00
parent 283e91cd6a
commit 7b2ca538c8

View 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");