summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Merrill <napalminc@gmail.com>2010-11-05 10:47:12 -0700
committerPaul Merrill <napalminc@gmail.com>2010-11-05 10:47:12 -0700
commit8243912d9bf84fdfeab9b2390263d63197464b95 (patch)
treec41d14a56dd9963ad6fb3c7e6b2ff14ef305bae1
parent17943d8be9cdd964c5d66dcde4f12119a7f8532c (diff)
Space between subject and name in post
-rw-r--r--inc/display.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index 71ecface..10243a68 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -55,7 +55,8 @@
'<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 . '">';