Fallback to the old behavior for unhandled conversations mode.
This commit is contained in:
parent
283e91cd6a
commit
7b2ca538c8
1 changed files with 4 additions and 0 deletions
|
@ -677,6 +677,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false, $thr_c = fa
|
||||||
|
|
||||||
//$tpl = get_markup_template('search_item.tpl');
|
//$tpl = get_markup_template('search_item.tpl');
|
||||||
$tpl = 'search_item.tpl';
|
$tpl = 'search_item.tpl';
|
||||||
|
$thr_c = false;
|
||||||
|
|
||||||
foreach($items as $item) {
|
foreach($items as $item) {
|
||||||
$threadsid++;
|
$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");
|
$page_template = get_markup_template("conversation.tpl");
|
||||||
|
|
Loading…
Reference in a new issue