Hide thread tree unless enabled in overrides.inc.php.

This commit is contained in:
Retro_Guy 2024-07-05 13:18:23 -07:00
parent c7cb347215
commit 6e2d8f58e2
1 changed files with 4 additions and 2 deletions

View File

@ -171,8 +171,10 @@ if ($message) {
$thread_show["lastdate"] = false;
$thread_show["latest"] = false;
$thread_show["author"] = true;
// message_thread($message->header->id,$group,$thread,$pageids);
message_thread($message->header->id, $group, $thread, false);
if(isset($OVERRIDES['hide_thread_tree']) && $OVERRIDES['hide_thread_tree'] == true) {
// Currently broken
message_thread($message->header->id, $group, $thread, false);
}
echo '<br>';
echo '<a name="start"></a>';
// navigation line