aboutsummaryrefslogtreecommitdiff
path: root/lib/elearning/ConnectedLink.class.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-02-05 13:37:43 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-02-05 13:37:43 +0000
commitb50d00e535e3401a4d602498182726fa2a67aeec (patch)
tree7600e62dac7a94e07525b1710acc52861f5a11cf /lib/elearning/ConnectedLink.class.php
parent5a498380891237c5cf225598cd6d06d24ad7eea8 (diff)
fixes #3707
Closes #3707 Merge request studip/studip!2580
Diffstat (limited to 'lib/elearning/ConnectedLink.class.php')
-rw-r--r--lib/elearning/ConnectedLink.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elearning/ConnectedLink.class.php b/lib/elearning/ConnectedLink.class.php
index 80c61d1..6fa1de5 100644
--- a/lib/elearning/ConnectedLink.class.php
+++ b/lib/elearning/ConnectedLink.class.php
@@ -33,7 +33,7 @@ class ConnectedLink
global $ELEARNING_INTERFACE_MODULES;
$this->cms_type = $cms;
- $this->cms_link = $ELEARNING_INTERFACE_MODULES[$cms]["ABSOLUTE_PATH_ELEARNINGMODULES"] . $ELEARNING_INTERFACE_MODULES[$cms]["target_file"];
+ $this->cms_link = $ELEARNING_INTERFACE_MODULES[$cms]["ABSOLUTE_PATH_ELEARNINGMODULES"] . ($ELEARNING_INTERFACE_MODULES[$cms]["target_file"] ?? null);
}
/**