twitter: Imported links sometime vanished

pull/163/head
Michael Vogel 2013-11-03 21:31:52 +01:00
parent acdd79cdab
commit e89bab99ad
1 changed files with 1 additions and 1 deletions

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)); $removedlink = trim(str_replace($footerlink, "", $body));
if (strstr($body, $removedlink)) if (strstr($body, $removedlink))