Bugfix: Links were ignored sometimes. (Due to a missing default value)

This commit is contained in:
Michael Vogel 2013-10-19 07:11:50 +02:00
parent 028dc3c3b4
commit f1154cfdd5

View 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/");