From e89bab99add903f3a9c32b98a3c5c6749d37baf7 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 3 Nov 2013 21:31:52 +0100 Subject: [PATCH] twitter: Imported links sometime vanished --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))