Skip to content
Browse files

MDL-19880 Fixed a potential memory overflow problem with lots of courses

  • Loading branch information...
1 parent 6ab0ce2 commit 040d304d0ff76ed53ea28805221d2c29feb69eb6 @moodler moodler committed Jun 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/import/activities/mod.php
View
2 course/import/activities/mod.php
@@ -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)) {

0 comments on commit 040d304

Please sign in to comment.
Something went wrong with that request. Please try again.