From 6cc75c99f4af3fb26894cd68a25590b7d716bad0 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Thu, 3 Feb 2005 22:21:30 +0000 Subject: [PATCH] Fixing bug #2479 (parent courses showing in meta course search) --- course/importstudents.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5