From 7e3801daaf99b26ede1a63d93c58a825ab0a5242 Mon Sep 17 00:00:00 2001 From: David Siegfried <david.siegfried@uni-vechta.de> Date: Wed, 3 Jul 2024 12:21:15 +0000 Subject: [PATCH] prevent php-warnings in PluginManager, closes #4363 Closes #4363 Merge request studip/studip!3163 --- lib/plugins/engine/PluginManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/engine/PluginManager.php b/lib/plugins/engine/PluginManager.php index ec434a95ff5..05e2b143607 100644 --- a/lib/plugins/engine/PluginManager.php +++ b/lib/plugins/engine/PluginManager.php @@ -83,7 +83,7 @@ class PluginManager 'core' => $plugin['pluginpath'] === '', 'automatic_update_url' => $plugin['automatic_update_url'], 'automatic_update_secret' => $plugin['automatic_update_secret'], - 'description' => $plugin['description'], + 'description' => $plugin['description'] ?? '', 'description_mode' => $plugin['description_mode'] ?? null, 'highlight_until' => $plugin['highlight_until'] ?? null, 'highlight_text' => $plugin['highlight_text'] ?? null, -- GitLab