From 55ef45fcdeaddcdf1644c660cc34deaab92cc929 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Thu, 26 Apr 2007 10:58:48 +0200 Subject: [PATCH] [svn r12129] Fix a bug with the course list --- main/mySpace/myStudents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/mySpace/myStudents.php b/main/mySpace/myStudents.php index d144090e75..0b0e8f9351 100644 --- a/main/mySpace/myStudents.php +++ b/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)) { - array_splice($a_courses, $key); + array_splice($a_courses, $key,1); } else {