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

Bugfix

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