diff --git a/views/presenting/details.php b/views/presenting/details.php index f4f8452b25625d67ed404956c4b165452797de66..5407a6a63a649f5909be842adcfd0e5a44ec7516 100755 --- a/views/presenting/details.php +++ b/views/presenting/details.php @@ -237,11 +237,11 @@ if ($image) { <a style="opacity: 0.3;" title="<?= $GLOBALS['perm']->have_perm("autor") ? _("Geben Sie die erste Bewertung ab.") : _("Noch keine bewertung abgegeben.") ?>" <?= ($GLOBALS['perm']->have_perm("autor") && !$marketplugin->isWritable()) ? 'href="' . $controller->url_for('presenting/review/' . $marketplugin->getId()) . '" data-dialog' : "" ?>> <? $icon_prefix = "blue_" ?> <? endif ?> - <?= Icon::create($plugin->getPluginURL()."/assets/".$icon_prefix."star.svg")->asImg("50px") ?> - <?= Icon::create($plugin->getPluginURL()."/assets/".$icon_prefix."star.svg")->asImg("50px") ?> - <?= Icon::create($plugin->getPluginURL()."/assets/".$icon_prefix."star.svg")->asImg("50px") ?> - <?= Icon::create($plugin->getPluginURL()."/assets/".$icon_prefix."star.svg")->asImg("50px") ?> - <?= Icon::create($plugin->getPluginURL()."/assets/".$icon_prefix."star.svg")->asImg("50px") ?> + <?= Icon::create($plugin->getPluginURL()."/assets/".($icon_prefix ?? '')."star.svg")->asImg("50px") ?> + <?= Icon::create($plugin->getPluginURL()."/assets/".($icon_prefix ?? '')."star.svg")->asImg("50px") ?> + <?= Icon::create($plugin->getPluginURL()."/assets/".($icon_prefix ?? '')."star.svg")->asImg("50px") ?> + <?= Icon::create($plugin->getPluginURL()."/assets/".($icon_prefix ?? '')."star.svg")->asImg("50px") ?> + <?= Icon::create($plugin->getPluginURL()."/assets/".($icon_prefix ?? '')."star.svg")->asImg("50px") ?> <? if (!$marketplugin->isWritable()) : ?> </a> <? endif ?>