Commit 14cfc5f9 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '145-undefinierte-variable-in-result-php-isvalid' into 'development'

undefined avariable fixed

Closes #145

See merge request !178
parents a75e6c48 c7700cd7
......@@ -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
}
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