forked from friendica/friendica-addons
twitter: Imported links sometime vanished
This commit is contained in:
parent
acdd79cdab
commit
e89bab99ad
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue