From a5849937b4ca5d253fc341f5b1d737f4412b7487 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Mon, 7 Feb 2005 01:00:57 +0000 Subject: [PATCH] More bug fixing - #2479 --- course/importstudents.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/course/importstudents.php b/course/importstudents.php index c8da56522f..d3c4bc3f3a 100644 --- a/course/importstudents.php +++ b/course/importstudents.php @@ -99,6 +99,9 @@ if (array_key_exists($tmp->id,$alreadycourses)) { unset($searchcourses[$tmp->id]); } + if (!empty($tmp->metacourse)) { + unset($searchcourses[$tmp->id]); + } } if (array_key_exists($course->id,$searchcourses)) { unset($searchcourses[$course->id]); -- 2.39.5