Avoid little warning in test
This commit is contained in:
parent
edb8313837
commit
1f80a0ab8c
|
@ -375,7 +375,10 @@ sub autoRedirect {
|
|||
$req->data->{redirectFormMethod} = "get";
|
||||
}
|
||||
else {
|
||||
if ( $req->{pdata}->{_url} eq encode_base64( $req->{urldc}, '' ) ) {
|
||||
if ( $req->{pdata}->{_url}
|
||||
and $req->{pdata}->{_url} eq encode_base64( $req->{urldc}, '' )
|
||||
)
|
||||
{
|
||||
$self->logger->info("Force cleaning pdata");
|
||||
$req->pdata( {} );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user