diff options
Diffstat (limited to 'forum/utils')
-rw-r--r-- | forum/utils/posts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/utils/posts.php b/forum/utils/posts.php index 3a2ecc5..3b0e73b 100644 --- a/forum/utils/posts.php +++ b/forum/utils/posts.php @@ -70,9 +70,9 @@ class Post { echo date("j. M Y - G:i", $this->date) . "</div>\n"; echo $indent . " <div class=\"message\">\n"; echo parse($this->message, $indent . " ") . "\n"; - if($user->signature != "\n " && $user->signature != "") { + if(trim($user->signature) != "") { echo $indent . " <div class=\"signature\">\n"; - echo parse("------------------\n" . $user->signature, $indent . " ") . "\n"; + echo parse("--------------------------\n" . $user->signature, $indent . " ") . "\n"; echo $indent . " </div>\n"; } echo $indent . " </div>\n"; |