diff --git a/include/comment.php b/include/comment.php index 28cab68..669c735 100644 --- a/include/comment.php +++ b/include/comment.php @@ -366,18 +366,18 @@ function view_app_comments($versionId, $threadId = 0) { // FIXME we need to change this so not logged in users can change current view as well if (isset($_REQUEST['cmode'])) - $_SESSION['current']->setpref("comments:mode", $_REQUEST['cmode']); + $_SESSION['current']->setPref("comments:mode", $_REQUEST['cmode']); - $sel[$_SESSION['current']->getpref("comments:mode")] = 'selected'; - echo '