Certificate Error

Status : 
Active
Priority: 
Normal
Creation Date: 
Thursday, June 14, 2012
Requestor: 
ITG
Description: 

Error when selecting for teacher to get an email notification.  Also, when selecting that the student get emailed the certificate

Notes: 

AOL is the course having the issue.  Disabling the email feature causes the error to go away.  Lynn Beason is ok with not having this feature working.

Testing in moodle20 --> Developer Courses --> Accelerate Online 1: School and Classroom Environment

 

Comments

May have found the solution.  Make change to mode/certificate/lib.php

Change
function certificate_issue($course, $certrecord, $cm) {
    global $USER, $DB, $certificate;

to
function certificate_issue($course, $certificate, $certrecord, $cm) {
    global $USER, $DB;

Michelle -- please check and confirm.