diff --git a/app/Models/Result.php b/app/Models/Result.php index f14c22b6d8f4ba21b01a702db7e414cdc92d91da..3845196e91e68f1cac0752bafcb7da78a1c1fea4 100644 --- a/app/Models/Result.php +++ b/app/Models/Result.php @@ -173,6 +173,7 @@ class Result # Wir wenden die Stoppwortsuche an und schmeißen entsprechende Ergebnisse raus: foreach($metager->getStopWords() as $stopWord) { + $text = $this->titel . " " . $this->descr; if(stripos($text, $stopWord) !== false) { return false; @@ -245,4 +246,4 @@ class Result return "https://proxy.suma-ev.de/cgi-bin/nph-proxy.cgi/en/I0/" . $tmp; } -} \ No newline at end of file +}