summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/info/views/info_block.html.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index 81c2731c..956cc23d 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -5,11 +5,13 @@
<th><?= t("Title:") ?></th>
<td><?= $item->title; ?></td>
</tr>
+ <? if ($item->description): ?>
<tr>
<th><?= t("Description:") ?></th>
<td><?= $item->description; ?></td>
</tr>
- <? if ($item->id != 1): ?>
+ <? endif ?>
+ <? if ($item->id != 1): ?>
<tr>
<th><?= t("Name:") ?></th>
<td><?= $item->name; ?></td>