From: Michael Vogel Date: Sun, 3 Nov 2013 20:31:52 +0000 (+0100) Subject: twitter: Imported links sometime vanished X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e89bab99add903f3a9c32b98a3c5c6749d37baf7;p=friendica-addons.git twitter: Imported links sometime vanished --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 3cabbff3..e90f36df 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1785,7 +1785,7 @@ function twitter_convertmsg($a, $body, $no_tags = false) { } } - if (($footerlink != "") AND ($footer != "")) { + if (($footerlink != "") AND (trim($footer) != "")) { $removedlink = trim(str_replace($footerlink, "", $body)); if (strstr($body, $removedlink))