diff --git a/app/Models/Result.php b/app/Models/Result.php index 2537ff25029de1f6ed21d85ec6cff5bb3cd59b5a..7bc5d129741399d3fabb024cf1e137128c9ae505 100644 --- a/app/Models/Result.php +++ b/app/Models/Result.php @@ -225,8 +225,8 @@ class Result } # Eventueller Sprachfilter - if ($metager->getLang() !== "all" && isset($this->langCode)) { - if ($metager->getLang() !== $this->langCode) { + if ($metager->getLang() !== "all") { + if (!isset($this->langCode) || $this->langCode === NULL || $metager->getLang() !== $this->langCode) { return false; }