From 5c08983d892929041dfc0b9d3b10439bae9ce1b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michaela=20Br=C3=BCckner?= <brueckner@data-quest.de> Date: Fri, 6 Sep 2024 11:26:40 +0000 Subject: [PATCH] get plugin description in both languages, fixes #4568 Closes #4568 Merge request studip/studip!3382 --- app/views/start/add.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/start/add.php b/app/views/start/add.php index 8b68e059e92..7f9891548fb 100644 --- a/app/views/start/add.php +++ b/app/views/start/add.php @@ -21,8 +21,8 @@ <input type="checkbox" name="widget_id[]" value="<?= $widget->getPluginId() ?>"> <?= htmlReady($widget->getPluginName()) ?> </label> - <? if ($metadata['description']): ?> - <p><?= formatReady($metadata['description']) ?></p> + <? if ($widget->getPluginDescription()): ?> + <p><?= formatReady($widget->getPluginDescription()) ?></p> <? endif; ?> </li> <? endforeach; ?> -- GitLab