From: Michael Vogel Date: Sat, 19 Oct 2013 05:11:50 +0000 (+0200) Subject: Bugfix: Links were ignored sometimes. (Due to a missing default value) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f1154cfdd5d99cf306efa748a9849c807e7aceb5;p=friendica.git Bugfix: Links were ignored sometimes. (Due to a missing default value) --- diff --git a/include/html2plain.php b/include/html2plain.php index 3e4c0e8db0..dfb577abe1 100644 --- a/include/html2plain.php +++ b/include/html2plain.php @@ -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/");