From 2fe79c564b18c91bb505a7fd41f529403b63f5b2 Mon Sep 17 00:00:00 2001 From: Beanow Date: Sun, 7 Sep 2014 15:48:44 +0200 Subject: [PATCH] Fixed whitespace issue causing trueish results in templates. For example: profiles would show labels with no content. --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index 00cbc2b592..b20afd9336 100644 --- a/include/text.php +++ b/include/text.php @@ -1503,7 +1503,7 @@ function prepare_text($text) { else $s = smilies(bbcode($text)); - return $s; + return trim($s); }} -- 2.39.5