diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/photo.html.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 8b8f44d4..512c1e17 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -9,5 +9,7 @@ <h1><?= $item->title_edit ?></h1> <div><?= $item->description_edit ?></div> - <?= comment::block($theme, true); ?> + <? if (module::is_installed("comment")): ?> + <?= comment::block($theme, true); ?> + <? endif ?> </div> |