1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/15758] Show translated msg for INSECURE_REDIRECT

PHPBB3-15758
This commit is contained in:
Jakub Senko
2018-09-25 14:42:03 +02:00
parent 001f32da95
commit d29d4389f9
2 changed files with 6 additions and 6 deletions

View File

@@ -109,7 +109,7 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
if ($expected_error !== false)
{
$this->setExpectedTriggerError(E_USER_ERROR, $user->lang[$expected_error]);
$this->setExpectedTriggerError(E_USER_WARNING, $user->lang[$expected_error]);
}
$result = redirect($test, true, $disable_cd_check);