summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/template/flag_comment.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/template/flag_comment.php b/web/template/flag_comment.php
index e8855fe8..05eeacb2 100644
--- a/web/template/flag_comment.php
+++ b/web/template/flag_comment.php
@@ -11,11 +11,13 @@
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
<?php endif; ?>
</p>
+ <?php if (isset($message['Username'])): ?>
<p>
<div class="article-content">
<blockquote><p><?= parse_comment($message['FlaggerComment']) ?></p></blockquote>
</div>
</p>
+ <?php endif; ?>
<p>
<form action="<?= htmlspecialchars(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) ?>">
<input type="submit" value="<?= __("Return to Details") ?>" />