Commit 47fbff77 authored by Dominik Hebeler's avatar Dominik Hebeler

Fixed error where results were filtered by language filter

parent d10a60b5
......@@ -251,14 +251,6 @@ class Result
return false;
}
# Eventueller Sprachfilter
if ($metager->getLang() !== "all") {
if (!isset($this->langCode) || $this->langCode === null || $metager->getLang() !== $this->langCode) {
return false;
}
}
# Stopworte
foreach ($metager->getStopWords() as $stopWord) {
$text = $this->titel . " " . $this->descr;
......
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