浏览代码

Merge pull request #497 from AngelFQC/7525

Fix function call according to PHPDoc - refs #7525
Angel Fernando Quiroz Campos 10 年之前
父节点
当前提交
0a90a2c502
共有 1 个文件被更改,包括 1 次插入1 次删除
  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_parent_id(null);
         $cat->set_weight(0);
         $cat->set_weight(0);
         $cat->set_visible(1);
         $cat->set_visible(1);
-        $cat->setGenerateCertificates(false);
+        $cat->setGenerateCertificates(0);
 
 
         return $cat;
         return $cat;
     }
     }