Skip to content
Snippets Groups Projects
Commit 43c4057a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Such Parameter werden nun nicht mehr nach Lower-Case umgewandelt.

parent 15754e5b
No related branches found
No related tags found
4 merge requests!1197Development,!1196Development,!1195Development,!1188Resolve "Groß- und Kleinschreibung wird bei der Phrasensuche verworfen"
......@@ -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\", ";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment