1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13647] Use the Symfony way for redirecting

PHPBB3-13647
This commit is contained in:
Joas Schilling
2015-02-27 22:58:51 +01:00
parent 9c6fba558c
commit 7e0d54a331
2 changed files with 7 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ class help
if ($ext_name === '' || $lang_file === '')
{
throw new http_exception(501, 'FEATURE_NOT_AVAILABLE');
throw new http_exception(404, 'Not Found');
}
$this->user->add_lang($lang_file, false, true, $ext_name);