diff --git a/app/MetaGer.php b/app/MetaGer.php index 9f9e9c8953abc28b2d1d8cc3868eb3800f16d4e9..de6222bdd65c9e34f213acbc95cccd8e2f2658f7 100644 --- a/app/MetaGer.php +++ b/app/MetaGer.php @@ -906,7 +906,7 @@ class MetaGer } # Sucheingabe $this->eingabe = trim($request->input('eingabe', '')); - $this->q = mb_strtolower($this->eingabe, "UTF-8"); + $this->q = $this->eingabe; # IP $this->ip = $request->ip(); # Unser erster Schritt wird sein, IP-Adresse und USER-Agent zu anonymisieren, damit @@ -1180,7 +1180,7 @@ class MetaGer // matches '[... ]"test satz"[ ...]' while (preg_match("/(^|.+\s)\"(.+)\"(?:\s(.+)|($))/si", $tmp, $match)) { $tmp = $match[1] . $match[3]; - $this->phrases[] = strtolower($match[2]); + $this->phrases[] = $match[2]; } foreach ($this->phrases as $phrase) { $p .= "\"$phrase\", ";