Changes to allow choice of format on home page of site
[moodle.git] / admin / site.php
index d9e76d3..f9301ac 100644 (file)
@@ -49,6 +49,7 @@
         $form = $course;
     } else {
         $form->category = 0;
         $form = $course;
     } else {
         $form->category = 0;
+        $form->format = 1;
     }
 
     print_header("Admin: Setting up site", "Administration: Setting up site",
     }
 
     print_header("Admin: Setting up site", "Administration: Setting up site",