From f1154cfdd5d99cf306efa748a9849c807e7aceb5 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 19 Oct 2013 07:11:50 +0200 Subject: [PATCH] Bugfix: Links were ignored sometimes. (Due to a missing default value) --- include/html2plain.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/html2plain.php b/include/html2plain.php index 3e4c0e8db..dfb577abe 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/");