MDL-19880 Fixed a potential memory overflow problem with lots of courses
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
$taught_courses = array();
|
||||
if (!empty($tcourseids)) {
|
||||
$tcourseids = substr($tcourseids,0,-1);
|
||||
$taught_courses = get_records_list('course', 'id', $tcourseids, 'sortorder');
|
||||
$taught_courses = get_records_list('course', 'id', $tcourseids, 'sortorder', '', 'id, fullname');
|
||||
}
|
||||
|
||||
if (!empty($creator)) {
|
||||
|
||||
Reference in New Issue
Block a user