summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-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 . '">';