Commit 5f65a46f authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed error when printing view for empty query string

parent 81b889e7
......@@ -55,7 +55,8 @@ class MetaGerSearch extends Controller
# 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();
echo $metager->createView();
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