diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-08 08:46:26 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-08 08:46:26 +0000 |
| commit | 99bcd10222eada6276f8c44519c3862812c47e64 (patch) | |
| tree | d8839c27e99d982afe6a6930bfb7f1322e6b732a /lib/classes/LtiLink.php | |
| parent | f0f521cbd647c47ce72163d1ed3d6231a8051164 (diff) | |
fixes #3781
Closes #3781
Merge request studip/studip!2655
Diffstat (limited to 'lib/classes/LtiLink.php')
| -rw-r--r-- | lib/classes/LtiLink.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/LtiLink.php b/lib/classes/LtiLink.php index 33e70a9..801b6c0 100644 --- a/lib/classes/LtiLink.php +++ b/lib/classes/LtiLink.php @@ -208,7 +208,7 @@ class LtiLink { $name = strtolower(preg_replace('/\W/', '_', $name)); $value = preg_replace_callback('/\$([\w.]*\w)/', function($matches) { - return $this->variables[$matches[1]] ?: $matches[0]; + return $this->variables[$matches[1]] ?? $matches[0]; }, $value); $this->addLaunchParameter('custom_' . $name, $value); |
