diff --git a/lib/classes/coursewizardsteps/BasicDataWizardStep.php b/lib/classes/coursewizardsteps/BasicDataWizardStep.php
index c312972b4a6095f6655583123ea62c16e0d19ccb..22b80ed65fc003ba8fe943568c945e4859c60bdd 100644
--- a/lib/classes/coursewizardsteps/BasicDataWizardStep.php
+++ b/lib/classes/coursewizardsteps/BasicDataWizardStep.php
@@ -404,7 +404,7 @@ class BasicDataWizardStep implements CourseWizardStep
         $values = $values[__CLASS__];
         $seminar = new Seminar($course);
 
-        if ($copy_basic_data) {
+        if ($source_id && $copy_basic_data) {
             $this->copyBasicData(
                 $course,
                 $source_id
@@ -472,7 +472,9 @@ class BasicDataWizardStep implements CourseWizardStep
             CourseSet::addCourseToSet($course_set_id, $course->id);
         }
 
-        self::copyParticipantsAndGroups($course, $source_id, $copy_participants, $copy_groups, $copy_members);
+        if ($source_id  && ($copy_participants || $copy_groups || $copy_members)) {
+            self::copyParticipantsAndGroups($course, $source_id, $copy_participants, $copy_groups, $copy_members);
+        }
 
         return $course;
     }