Bugfix: Links were ignored sometimes. (Due to a missing default value)
This commit is contained in:
parent
028dc3c3b4
commit
f1154cfdd5
|
@ -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/");
|
||||
|
|
Loading…
Reference in New Issue
Block a user