1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

Merge pull request #5374 from senky/ticket/15758

[ticket/15758] Show translated msg for INSECURE_REDIRECT
This commit is contained in:
Marc Alexander
2018-10-10 22:49:08 +02:00
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);