Default forum display mode is actually used now
authormartin <martin>
Mon, 2 Sep 2002 03:48:47 +0000 (03:48 +0000)
committermartin <martin>
Mon, 2 Sep 2002 03:48:47 +0000 (03:48 +0000)
mod/forum/lib.php

index 01222daf1d6714baa5fe10ec59b9ceb6d558d188..127167dd3fb776f729017b4e3a37acca13cb883e 100644 (file)
@@ -1259,7 +1259,7 @@ function forum_print_posts_nested($parent, $course, $assessed) {
 }
 
 function forum_set_display_mode($mode=0) {
-    global $USER;
+    global $USER, $FORUM_DEFAULT_DISPLAY_MODE;
 
     if ($mode) {
         $USER->mode = $mode;