properly localize "not found"-pages

This commit is contained in:
Sarjuuk
2015-05-31 21:05:56 +02:00
parent 9fda302bf3
commit 398bb3fd40
25 changed files with 131 additions and 40 deletions

View File

@@ -201,7 +201,10 @@ class SearchPage extends GenericPage
{
// empty queries go home
if (!$this->query)
{
header('Location: .', true, 302);
die();
}
parent::display(); // errors are handled in the search-template itself
}