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

pull/788/head
Michael Vogel 2013-10-19 07:11:50 +02:00
rodzic 028dc3c3b4
commit f1154cfdd5
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

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