twitter: Imported links sometime vanished

This commit is contained in:
Michael Vogel 2013-11-03 21:31:52 +01:00
parent acdd79cdab
commit e89bab99ad

View file

@ -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))