summaryrefslogtreecommitdiff
path: root/lib/noticesection.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-20 16:50:05 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-20 16:50:05 -0500
commita76099c59b616004886e3c7add06db1de53e4acf (patch)
treedf5358b034b66202e379e2d0beaafeba4674724e /lib/noticesection.php
parent85eb53247d7c0eac767de9fd79ba70183b7f57be (diff)
make check for ->value better
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');