[svn r12129] Fix a bug with the course list

skala
Julian Prud'homme 19 years ago
parent 1268af0cf0
commit 55ef45fcde
  1. 2
      main/mySpace/myStudents.php

@ -200,7 +200,7 @@ if(!empty($_GET['student']))
{ {
if(!CourseManager::is_user_subscribed_in_course($a_infosUser['user_id'], $course_code, true)) if(!CourseManager::is_user_subscribed_in_course($a_infosUser['user_id'], $course_code, true))
{ {
array_splice($a_courses, $key); array_splice($a_courses, $key,1);
} }
else else
{ {

Loading…
Cancel
Save