Commit 08ffe80a authored by Dominik Hebeler's avatar Dominik Hebeler

added comment

parent 8f20d74e
......@@ -61,6 +61,8 @@ class MetaGerSearch extends Controller
$timings["checkSpecialSearches"] = microtime(true) - $time;
}
# Search query can be empty after parsing the formdata
# we will cancel the search in that case and show an error to the user
if(empty($metager->getQ())){
return $metager->createView();
}
......
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