Commit c21340e8 authored by Dominik Hebeler's avatar Dominik Hebeler

Merge branch '600-der-host-filter-scheint-nicht-mehr-zu-funktionieren' into 'development'

Resolve "Der Host Filter scheint nicht mehr zu funktionieren."

Closes #600

See merge request open-source/MetaGer!1065
parents 48bf2317 669fd42f
......@@ -264,7 +264,7 @@ class Result
* dass von jedem Host maximal 3 Links angezeigt werden.
* Diese Überprüfung führen wir unter bestimmten Bedingungen nicht durch.
*/
if ($metager->getSite() === "" &&
if (($metager->getSite() === "" || $metager->getSite() === null) &&
strpos($this->strippedHost, "ncbi.nlm.nih.gov") === false &&
strpos($this->strippedHost, "twitter.com") === false &&
strpos($this->strippedHost, "www.ladenpreis.net") === false &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment