summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Merrill <napalminc@gmail.com>2010-11-05 10:53:45 -0700
committerPaul Merrill <napalminc@gmail.com>2010-11-05 10:53:45 -0700
commitec74f732884a07d508d9655f3ba1d9a4289b1b62 (patch)
tree3b9185c855b88191128148088ceb20cb3c031c29
parent8243912d9bf84fdfeab9b2390263d63197464b95 (diff)
Added space after subject
-rw-r--r--inc/display.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index 10243a68..95df3796 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -150,7 +150,8 @@
$built .= '<div class="post op"><p class="intro"' . (!$index?' id="' . $this->id . '"':'') . '>';
// Subject
- $built .= '<span class="subject">' . $this->subject . '</span>';
+ if(!empty($this->subject))
+ $built .= '<span class="subject">' . $this->subject . '</span> ';
// Email
if(!empty($this->email))
$built .= '<a class="email" href="mailto:' . $this->email . '">';