We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9f043 commit 39fc564Copy full SHA for 39fc564
plugin/ims_lti/edit.php
@@ -93,10 +93,25 @@
93
->setAdvantageServices(
94
$tool->getAdvantageServices()
95
)
96
+ ->setDocumenTarget($tool->getDocumentTarget())
97
->publicKey = $tool->publicKey;
98
99
$em->persist($child);
100
+
101
+ $courseTool = $plugin->findCourseToolByLink(
102
+ $child->getCourse(),
103
+ $child
104
+ );
105
106
+ $plugin->updateCourseTool($courseTool, $child);
107
}
108
+ } else {
109
110
+ $tool->getCourse(),
111
+ $tool
112
113
114
+ $plugin->updateCourseTool($courseTool, $tool);
115
116
117
$em->persist($tool);
0 commit comments