]> git.mxchange.org Git - friendica-addons.git/commitdiff
twitter: Imported links sometime vanished
authorMichael Vogel <icarus@dabo.de>
Sun, 3 Nov 2013 20:31:52 +0000 (21:31 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 3 Nov 2013 20:31:52 +0000 (21:31 +0100)
twitter/twitter.php

index 3cabbff3d500903ca04398a709e10ab4c6f6281f..e90f36df191c0de4ddfaed9e8078306ee6c8aec4 100755 (executable)
@@ -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))