diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-20 16:50:05 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-20 16:50:05 -0500 |
commit | a76099c59b616004886e3c7add06db1de53e4acf (patch) | |
tree | df5358b034b66202e379e2d0beaafeba4674724e | |
parent | 85eb53247d7c0eac767de9fd79ba70183b7f57be (diff) |
make check for ->value better
-rw-r--r-- | lib/noticesection.php | 2 |
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'); |