diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2026-01-06 10:22:03 +0100 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2026-03-19 17:34:49 +0100 |
| commit | 62852255073feb84effdf3a83878f947020fc46b (patch) | |
| tree | 1665006c2c7cf8e37357e7c834121834fb96ad98 /lib | |
| parent | 7f4013293113f33c79a180b1e6e55a6c10db7cd5 (diff) | |
Refactor Deeplinking implementation
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/models/LtiResourceLink.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/models/LtiResourceLink.php b/lib/models/LtiResourceLink.php index 553b263..9f18481 100644 --- a/lib/models/LtiResourceLink.php +++ b/lib/models/LtiResourceLink.php @@ -206,7 +206,11 @@ class LtiResourceLink extends SimpleORMap implements LtiResourceLinkInterface public function getCustomParameters(): string { - return $this->custom_parameters ?? $this->deployment->registration->getConfigValues()['custom_parameters']; + if (!empty($this->custom_parameters)) { + return $this->custom_parameters; + } + + return $this->deployment->registration->getConfigValues()['custom_parameters']; } public function getCustomLtiParameterArray() : array |
