]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: Links were ignored sometimes. (Due to a missing default value)
authorMichael Vogel <icarus@dabo.de>
Sat, 19 Oct 2013 05:11:50 +0000 (07:11 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 19 Oct 2013 05:11:50 +0000 (07:11 +0200)
include/html2plain.php

index 3e4c0e8db061c0476b760fb77bd5f4ddf39a893d..dfb577abe18018714b4518dd4319ec457addc18e 100644 (file)
@@ -82,6 +82,9 @@ function collecturls($message) {
 
        $urls = array();
        foreach ($result as $treffer) {
+
+               $ignore = false;
+
                // A list of some links that should be ignored
                $list = array("/user/", "/tag/", "/group/", "/profile/", "/search?search=", "/search?tag=", "mailto:", "/u/", "/node/",
                                "//facebook.com/profile.php?id=", "//plus.google.com/", "//twitter.com/");