From: mjollnir_ Date: Thu, 3 Feb 2005 22:21:30 +0000 (+0000) Subject: Fixing bug #2479 (parent courses showing in meta course search) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6cc75c99f4af3fb26894cd68a25590b7d716bad0;p=moodle.git Fixing bug #2479 (parent courses showing in meta course search) --- diff --git a/course/importstudents.php b/course/importstudents.php index da91c3ec9b..4d12964b19 100644 --- a/course/importstudents.php +++ b/course/importstudents.php @@ -89,6 +89,8 @@ $alreadycourses = array(); } + $alreadycourses[$course->id] = $course; // this should take the currrent course out of the search results. + $numcourses = 0;