Hi all,
I researched every SCORM posting in this forum and 5- 7 others have run into this problem. When a SCORM's Grade Method is set to Learning Object, the certificate doesn't recognize the passing score.
What table and column is the certificate looking at when determining the score of the linked activities?
Here is the PHP code that compares the activity grade to the required grade in the certificate settings:
if ($certificate->lockgrade == 1) {
$coursegrade = certificate_print_course_grade($course);
if ($certificate->requiredgrade > $coursegrade->points) {
$a->current = $coursegrade->points;
$a->needed = $certificate->requiredgrade;
$restrict_errors[] = get_string('errorlockgradecourse', 'certificate', $a);
What table and field does it pull $coursegrade from?