mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
properly localize "not found"-pages
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user