diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-08-29 15:29:26 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-08-29 15:29:26 +0000 |
| commit | 7ebc446999286d42affc5d27ea888dd997a3d95c (patch) | |
| tree | e1393a88d17fcc74276460604d9ce9998379bdac /lib/plugins/engine | |
| parent | fd375126142decc222c1f61369dc198fb58b7f6e (diff) | |
prevent php8 warnings, fixes #3106
Closes #3106
Merge request studip/studip!2095
Diffstat (limited to 'lib/plugins/engine')
| -rw-r--r-- | lib/plugins/engine/PluginManager.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/engine/PluginManager.class.php b/lib/plugins/engine/PluginManager.class.php index 7fb69bc..39f4e87 100644 --- a/lib/plugins/engine/PluginManager.class.php +++ b/lib/plugins/engine/PluginManager.class.php @@ -87,9 +87,9 @@ class PluginManager 'automatic_update_url' => $plugin['automatic_update_url'], 'automatic_update_secret' => $plugin['automatic_update_secret'], 'description' => $plugin['description'], - 'description_mode' => $plugin['description_mode'], - 'highlight_until' => $plugin['highlight_until'], - 'highlight_text' => $plugin['highlight_text'] + 'description_mode' => $plugin['description_mode'] ?? null, + 'highlight_until' => $plugin['highlight_until'] ?? null, + 'highlight_text' => $plugin['highlight_text'] ?? null, ]; } } |
