[svn r12416] Fix a bug with the student course list : http://projects.dokeos.com/?do=details&id=1557

skala
Julian Prud'homme 19 years ago
parent 663e6a6a31
commit 1569801376
  1. 2
      main/mySpace/myStudents.php

@ -783,6 +783,7 @@ if(!empty($_GET['student']))
$csv_content[] = array(get_lang('Course'),get_lang('Time'),get_lang('Progress'),get_lang('Score'));
foreach($a_courses as $course_code)
{
if(CourseManager :: is_user_subscribed_in_course($student_id,$course_code, true)){
$course_infos = CourseManager :: get_course_information($course_code);
$time_spent_on_course = api_time_to_hms(Tracking :: get_time_spent_on_the_course($a_infosUser['user_id'], $course_code));
$progress = Tracking :: get_avg_student_progress($a_infosUser['user_id'], $course_code).' %';
@ -813,6 +814,7 @@ if(!empty($_GET['student']))
</td>';
}
echo '</tr>';
}
}
}

Loading…
Cancel
Save