From 729cff9ffa98ca750be5cc1a05bb64ebd411a521 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 28 Oct 2008 12:38:03 +0000 Subject: Now only non white space signatures are shown. --- forum/utils/posts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forum') 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) . "\n"; echo $indent . "
\n"; echo parse($this->message, $indent . " ") . "\n"; - if($user->signature != "\n " && $user->signature != "") { + if(trim($user->signature) != "") { echo $indent . "
\n"; - echo parse("------------------\n" . $user->signature, $indent . " ") . "\n"; + echo parse("--------------------------\n" . $user->signature, $indent . " ") . "\n"; echo $indent . "
\n"; } echo $indent . "
\n"; -- cgit v1.2.3