Skip to content

Commit

Permalink
Fix min certificate to be 0 see BT#15937
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Aug 6, 2019
1 parent 94228f2 commit b6d3f9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/gradebook/lib/fe/catform.class.php
Expand Up @@ -273,6 +273,10 @@ private function build_basic_form()
}

$defaultCertification = 0;
if (!empty($this->category_object)) {
$defaultCertification = $this->category_object->getCertificateMinScore();
}

if (isset($this->category_object) &&
$this->category_object->get_parent_id() == 0
) {
Expand Down

0 comments on commit b6d3f9b

Please sign in to comment.