Skip to content

Commit ded52af

Browse files
authored
Merge pull request #2686 from Alex-Jordan/no-copy-lis-id
when copying a course including its sets, don't copy the lis_source_i…
2 parents fa947ff + 0571001 commit ded52af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/WeBWorK/Utils/CourseManagement.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ sub addCourse {
385385
if ($db0 && $options{copySets}) {
386386
my @sets = $db0->getGlobalSetsWhere;
387387
for my $set (@sets) {
388+
$set->lis_source_did(undef);
388389
eval { $db->addGlobalSet($set) };
389390
warn $@ if $@;
390391

0 commit comments

Comments
 (0)