summaryrefslogtreecommitdiff
path: root/lib/noticesection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/noticesection.php')
-rw-r--r--lib/noticesection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticesection.php b/lib/noticesection.php
index 97b517529..b31f18744 100644
--- a/lib/noticesection.php
+++ b/lib/noticesection.php
@@ -96,7 +96,7 @@ class NoticeSection extends Section
$this->out->elementStart('p', 'entry-content');
$this->out->raw($notice->rendered);
$this->out->elementEnd('p');
- if ($notice->value) {
+ if (!empty($notice->value)) {
$this->out->elementStart('p');
$this->out->text($notice->value);
$this->out->elementEnd('p');