diff --git a/main/gradebook/index.php b/main/gradebook/index.php
index 33390a73e4..694fdbfb0f 100755
--- a/main/gradebook/index.php
+++ b/main/gradebook/index.php
@@ -120,7 +120,7 @@ $(function() {
$(this).addClass("view_children");
$(this).find("img").attr("src", show_icon);
});
-
+
for (i=0;i<$(".actions").length;i++) {
if ($(".actions:eq("+i+")").html()=="
" || $(".actions:eq("+i+")").html()=="" || $(".actions:eq("+i+")").html()==null || $(".actions:eq("+i+")").html().split("").length==2) {
$(".actions:eq("+i+")").hide();
@@ -764,6 +764,7 @@ if (isset($_GET['studentoverview'])) {
$cat->set_session_id($session_id);
} else {
$cat->set_name($course_code);
+ $cat->setIsRequirement(1);
}
$cat->set_course_code($course_code);
$cat->set_description(null);