diff options
| -rw-r--r-- | app/controllers/course/lti.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/course/lti.php b/app/controllers/course/lti.php index 9d84297..67cf65e 100644 --- a/app/controllers/course/lti.php +++ b/app/controllers/course/lti.php @@ -278,7 +278,6 @@ class Course_LtiController extends StudipController $ags_url_parameters = [ 'cid' => $this->course_id, 'tool_id' => $this->resource_link->deployment->tool_id, - 'deployment_id' => $this->resource_link->deployment_id, 'cancel_login' => '1' ]; @@ -312,8 +311,8 @@ class Course_LtiController extends StudipController 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score' ], - $this->url_for(sprintf('lti/ags/%d/line_items', $this->resource_link->deployment->id), $ags_url_parameters), - $this->url_for(sprintf('lti/ags/%d/line_item', $this->resource_link->deployment->id), $ags_url_parameters) + $this->url_for(sprintf('lti/ags/%d/line_items', $this->resource_link->id), $ags_url_parameters), + $this->url_for(sprintf('lti/ags/%d/line_item', $this->resource_link->id), $ags_url_parameters) ) ], $this->resource_link->deployment->getCustomLtiParameterArray(), |
