diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2026-02-04 12:38:46 +0100 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2026-02-04 12:38:46 +0100 |
| commit | c6ee9d8b88942d063e879ecbc1220e8baad232bd (patch) | |
| tree | b3681bbf712f8bf7d2cb2c2a051c4d2e74af4322 /app | |
| parent | 991f2829e266bfcaf51fbf465e3ed82887770bc6 (diff) | |
Resolve "LTI: Warum nur mit 1.3a globale LTI-Konfiguration möglich?"
Closes #6218
Merge request studip/studip!4705
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/course/lti.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/controllers/course/lti.php b/app/controllers/course/lti.php index 8dfdff0..6069a00 100644 --- a/app/controllers/course/lti.php +++ b/app/controllers/course/lti.php @@ -150,9 +150,11 @@ class Course_LtiController extends StudipController ON `lti_deployments`.`tool_id` = `lti_tools`.`id` WHERE `lti_deployments`.`purpose` = 'general' - AND `lti_tools`.`lti_version` = '1.3a' - AND `lti_tools`.`range_id` = 'global' - ORDER BY `lti_tools`.`name` ASC" + AND `lti_tools`.`range_id` IN (:range_ids) + ORDER BY `lti_tools`.`name` ASC", + [ + 'range_ids' => ['global', $this->course_id] + ] ); if (!$this->global_tool_deployments) { |
