Commit eedecf7a authored by Aria Givi's avatar Aria Givi
Browse files

Leerzeichen bleiben erhalten

parent a2468f88
......@@ -70,9 +70,11 @@ class MetaGerSearch extends Controller
if ($word[0] === "!") {
$dummyQuery .= $word . " ";
} else {
$realQuery .= $word;
$realQuery .= $word . " ";
}
}
$realQuery = rtrim($realQuery);
if ($dummyQuery !== "") {
$dummyQuery .= $placeholder;
$url = "https://api.duckduckgo.com/?format=json&no_redirect=1&t=MetaGerDE&q=" . urlencode($dummyQuery);
......
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