Skip to content

Commit

Permalink
Course copy: Fix copied only selected items for learnpaths - refs BT#…
Browse files Browse the repository at this point in the history
…19212
  • Loading branch information
cfasanando committed Dec 3, 2021
1 parent 1d9c12a commit c6e69fb
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -262,6 +262,9 @@ public function build(
$buildOrphanQuestions
);
} else {
if (!empty($toolsFromPost[RESOURCE_LEARNPATH]) && 'learnpaths' === $tool) {
$specificIdList = array_keys($toolsFromPost[RESOURCE_LEARNPATH]);
}
$this->$function_build(
$session_id,
$courseId,
Expand Down

0 comments on commit c6e69fb

Please sign in to comment.