[svn r11564] Added default view mode selection (otherwise was not displaying the posts at all)

skala
Yannick Warnier 19 years ago
parent fd5ad62b38
commit 9c29a5779b
  1. 7
      main/forum/viewthread.php

@ -225,7 +225,10 @@ if ($message<>'PostDeletedSpecial') // in this case the first and only post of t
$viewmode=$_GET['view'];
$_SESSION['view']=$viewmode;
}
if(empty($viewmode))
{
$viewmode = 'flat';
}
/*
-----------------------------------------------------------
@ -273,6 +276,8 @@ if ($message<>'PostDeletedSpecial') // in this case the first and only post of t
break;
case 'nested':
include_once('viewthread_nested.inc.php');
default:
include_once('viewthread_flat.inc.php');
break;
}
} // if ($message<>'PostDeletedSpecial') // in this case the first and only post of the thread is removed

Loading…
Cancel
Save