Commit 81d3e8b4 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

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 !1065
parents 3fd218f0 cb09476a
......@@ -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