From 6c01df6b096c061e37e903fde46cebb36cf746cb Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 2 Mar 2014 01:44:00 +0100 Subject: [PATCH] fbsync: added a trim to the content. --- fbsync/fbsync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbsync/fbsync.php b/fbsync/fbsync.php index b4a191ca2..ee70481c0 100644 --- a/fbsync/fbsync.php +++ b/fbsync/fbsync.php @@ -328,7 +328,7 @@ function fbsync_createpost($a, $uid, $self, $contacts, $applications, $post, $cr $postarray["body"] .= "[class=type-".$type."]"; if ($content) - $postarray["body"] .= $content; + $postarray["body"] .= trim($content); if ($quote) $postarray["body"] .= "\n[quote]".trim($quote)."[/quote]";