aboutsummaryrefslogtreecommitdiff
path: root/app/views/shared/modul/description.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/modul/description.php')
-rw-r--r--app/views/shared/modul/description.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/modul/description.php b/app/views/shared/modul/description.php
index 05eddbf..d104822 100644
--- a/app/views/shared/modul/description.php
+++ b/app/views/shared/modul/description.php
@@ -15,7 +15,7 @@
href="<?= $controller->action_link('description/' . $modul->id . '/',
[
'display_language' => $language,
- 'abschnitt_id' => $abschnitt_modul->abschnitt_id,
+ 'abschnitt_id' => empty($abschnitt_modul) ? '' : $abschnitt_modul->abschnitt_id,
]) ?>">
<?= Assets::img(MVV::getContentLanguageImagePath($language), ['alt' => $lang['name'], 'size' => 24]) ?>
</a>