remotes/angel/1.11.x
Rafa 8 years ago
parent 2a2fdcace4
commit 70c91603cf
  1. 2
      main/inc/lib/course.lib.php
  2. 2
      main/inc/lib/userportal.lib.php

@ -3554,7 +3554,7 @@ class CourseManager
}
$params = [];
//Param (course_code) needed to get the student process
//Param (course_code) needed to get the student info in page "My courses"
$params['course_code'] = $course['code'];
// Get notifications.
$course_info['id_session'] = null;

@ -1429,7 +1429,6 @@ class IndexManager
if (isset(api_get_configuration_value('course_student_info')['progress']) ||
isset(api_get_configuration_value('course_student_info')['score']) ||
isset(api_get_configuration_value('course_student_info')['certificate'])) {
if (isset(api_get_configuration_value('course_student_info')['progress']) &&
api_get_configuration_value('course_student_info')['progress'] === true) {
$progress = Tracking::get_avg_student_progress(
@ -1471,7 +1470,6 @@ class IndexManager
}
}
}
}
$html_courses_session[] = $course_session;

Loading…
Cancel
Save