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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user