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

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

parent a40dbefd
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -906,7 +906,7 @@ class MetaGer ...@@ -906,7 +906,7 @@ class MetaGer
} }
# Sucheingabe # Sucheingabe
$this->eingabe = trim($request->input('eingabe', '')); $this->eingabe = trim($request->input('eingabe', ''));
$this->q = mb_strtolower($this->eingabe, "UTF-8"); $this->q = $this->eingabe;
# IP # IP
$this->ip = $request->ip(); $this->ip = $request->ip();
# Unser erster Schritt wird sein, IP-Adresse und USER-Agent zu anonymisieren, damit # Unser erster Schritt wird sein, IP-Adresse und USER-Agent zu anonymisieren, damit
...@@ -1180,7 +1180,7 @@ class MetaGer ...@@ -1180,7 +1180,7 @@ class MetaGer
// matches '[... ]"test satz"[ ...]' // matches '[... ]"test satz"[ ...]'
while (preg_match("/(^|.+\s)\"(.+)\"(?:\s(.+)|($))/si", $tmp, $match)) { while (preg_match("/(^|.+\s)\"(.+)\"(?:\s(.+)|($))/si", $tmp, $match)) {
$tmp = $match[1] . $match[3]; $tmp = $match[1] . $match[3];
$this->phrases[] = strtolower($match[2]); $this->phrases[] = $match[2];
} }
foreach ($this->phrases as $phrase) { foreach ($this->phrases as $phrase) {
$p .= "\"$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