]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing bug #2479 (parent courses showing in meta course search)
authormjollnir_ <mjollnir_>
Thu, 3 Feb 2005 22:21:30 +0000 (22:21 +0000)
committermjollnir_ <mjollnir_>
Thu, 3 Feb 2005 22:21:30 +0000 (22:21 +0000)
course/importstudents.php

index da91c3ec9bae6d8fdfb4feb68c1aba590c2a75bc..4d12964b19a26e82db9b6541f452104a40212aef 100644 (file)
@@ -89,6 +89,8 @@
         $alreadycourses = array();
     }
 
+    $alreadycourses[$course->id] = $course; // this should take the currrent course out of the search results.
+
     $numcourses = 0;