Commit 728e1794 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix

parent 65245911
......@@ -49,6 +49,7 @@ class MetaGerSearch extends Controller
{
$q = $request->input('q', '');
$mquicktips = [];
$quicktips = [];
$spruch = "";
if(APP::getLocale() === "de"){
# Spruch
......@@ -87,8 +88,6 @@ class MetaGerSearch extends Controller
fclose($file);
}
$quicktips = [];
# Wetter
try {
$url = "http://api.openweathermap.org/data/2.5/weather?type=accurate&units=metric&lang=" . APP::getLocale() . "&q=" . urlencode($q) . "&APPID=" . getenv("openweathermap");
......
Supports Markdown
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