From de79a59f46e2de4ecf81b9782532f4bef092bd27 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 13 Dec 2017 10:39:09 -0500 Subject: [PATCH] Change course code for the course id to use in Twig variable - refs BT#12835 --- main/inc/lib/template.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/template.lib.php b/main/inc/lib/template.lib.php index af29f68a79..fcb8feef8a 100755 --- a/main/inc/lib/template.lib.php +++ b/main/inc/lib/template.lib.php @@ -498,7 +498,7 @@ class Template $this->assign('course_is_set', true); $this->course_id = $course['id']; $_c = array( - 'id' => $course['id'], + 'id' => $course['real_id'], 'code' => $course['code'], 'title' => $course['name'], 'visibility' => $course['visibility'],