From bfe4b5b3fdb33b11617d4db4e907a54c6ea3b61d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 May 2016 18:01:55 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=A3o=20certificado=20das=20Ofici?= =?UTF-8?q?nas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 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