Skip to content

Commit 1f38d4e

Browse files
committed
Learnpath: #fix session's lp copy - refs BT#22393
1 parent 58f0faa commit 1f38d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/lp/learnpath.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12675,7 +12675,7 @@ public function copy()
1267512675
//Setting elements that will be copied
1267612676
$cb->set_tools_specific_id_list(['learnpaths' => [$this->lp_id]]);
1267712677

12678-
$course = $cb->build();
12678+
$course = $cb->build($this->lp_session_id);
1267912679

1268012680
//Course restorer
1268112681
$course_restorer = new CourseRestorer($course);

0 commit comments

Comments
 (0)