Browse Source

Fix function call according to PHPDoc - refs #7525

Angel Fernando Quiroz Campos 10 năm trước cách đây
mục cha
commit
67944d4e3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/gradebook/lib/be/category.class.php

+ 1 - 1
main/gradebook/lib/be/category.class.php

@@ -365,7 +365,7 @@ class Category implements GradebookItem
         $cat->set_parent_id(null);
         $cat->set_weight(0);
         $cat->set_visible(1);
-        $cat->setGenerateCertificates(false);
+        $cat->setGenerateCertificates(0);
 
         return $cat;
     }