From 6542109e5071ab3f3af9cb141198f3ecbe7da247 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 May 2016 17:30:28 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=A3o=20certificado=20cursos=20pr?= =?UTF-8?q?esenciais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- type/ILB_presencial_2016/certificate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type/ILB_presencial_2016/certificate.php b/type/ILB_presencial_2016/certificate.php index 641e0b3..f481e3e 100644 --- a/type/ILB_presencial_2016/certificate.php +++ b/type/ILB_presencial_2016/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 = $course->startdate; $end_date = $cc->timecompleted; $fmt = '%d/%m/%Y'; // Default format