|
@@ -3576,7 +3576,7 @@ class UserManager
|
|
if (empty($checkPosition)) {
|
|
if (empty($checkPosition)) {
|
|
// The session course list doesn't have any position,
|
|
// The session course list doesn't have any position,
|
|
// then order the course list by course code
|
|
// then order the course list by course code
|
|
- $list = array_column($myCourseList, 'code');
|
|
|
|
|
|
+ $list = array_column($myCourseList, 'course_code');
|
|
array_multisort($myCourseList, SORT_ASC, $list);
|
|
array_multisort($myCourseList, SORT_ASC, $list);
|
|
}
|
|
}
|
|
}
|
|
}
|