diff --git a/type/Oficinas_Interlegis/certificate.php b/type/Oficinas_Interlegis/certificate.php index 1228170..5bc0cd5 100644 --- a/type/Oficinas_Interlegis/certificate.php +++ b/type/Oficinas_Interlegis/certificate.php @@ -36,7 +36,7 @@ if (!defined('MOODLE_INTERNAL')) { require_once("$CFG->dirroot/completion/completion_completion.php"); $cc = new completion_completion(array('userid'=>$USER->id, 'course'=>$course->id)); -$start_date = $cc->timeenrolled; +$start_date = $cc->startdate; $end_date = $cc->timecompleted; $fmt = '%d/%m/%Y'; // Default format