diff --git a/app/views/start/add.php b/app/views/start/add.php index 8b68e059e9278f084429bf45263a199044b53b70..7f9891548fbbb90bc8ec8a0f050c0117f167d40a 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; ?>