From 0f1aa6d6ada906504ab9debf467b12801b8b1257 Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Wed, 21 Mar 2007 16:31:14 +0100 Subject: [PATCH] [svn r11639] fix a bug in course list --- main/mySpace/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/mySpace/index.php b/main/mySpace/index.php index a62f0315c2..866446104b 100644 --- a/main/mySpace/index.php +++ b/main/mySpace/index.php @@ -385,6 +385,9 @@ if($nb_teacher_courses) $avg_progress_in_course += Tracking :: get_avg_student_progress ($row['user_id'], $course_code); $avg_score_in_course += Tracking :: get_avg_student_score ($row['user_id'], $course_code); $avg_time_spent_in_course += Tracking :: get_time_spent_on_the_course ($row['user_id'], $course_code); + $avg_messages_in_course += Tracking :: count_student_messages ($row['user_id'], $course_code); + $avg_assignments_in_course += Tracking :: count_student_assignments ($row['user_id'], $course_code); + $a_students[] = $row['user_id']; }