From f6991c7afddfd04c908b13cd123cbd825504d642 Mon Sep 17 00:00:00 2001 From: higinovieira Date: Wed, 25 May 2016 18:44:01 -0300 Subject: [PATCH] Ajuste nas datas de inicio e termino --- type/Oficinas_Interlegis/certificate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type/Oficinas_Interlegis/certificate.php b/type/Oficinas_Interlegis/certificate.php index 5bc0cd5..0d3352c 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->startdate; +$start_date = $course->startdate; $end_date = $cc->timecompleted; $fmt = '%d/%m/%Y'; // Default format