diff --git a/include/comment.php b/include/comment.php index 669c735..c42c26f 100644 --- a/include/comment.php +++ b/include/comment.php @@ -368,7 +368,7 @@ function view_app_comments($versionId, $threadId = 0) if (isset($_REQUEST['cmode'])) $_SESSION['current']->setPref("comments:mode", $_REQUEST['cmode']); - $sel[$_SESSION['current']->getPref("comments:mode")] = 'selected'; + $sel[$_SESSION['current']->getPref("comments:mode", "threaded")] = 'selected'; echo '
',"\n"; echo "Application Comments $messageCount total comments "; echo 'Mode