Skip to content

Commit

Permalink
Merge branch 'MDL_74310_master' of https://github.com/cengage/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Jun 13, 2022
2 parents ce69101 + 15e8003 commit 49cb3cb
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -93,6 +93,10 @@ public function process_ltiservice_gradebookservices_lineitem($data) {
$newtoolproxyid = null;
}
if ($data->ltilinkid != null) {
if ($data->ltilinkid != $this->get_old_parentid('lti')) {
// This is a linked item, but not for the current lti link, so skip it.
return;
}
$ltilinkid = $this->get_new_parentid('lti');
} else {
$ltilinkid = null;
Expand Down

0 comments on commit 49cb3cb

Please sign in to comment.