Commit f3536d46 authored by Clément OUDOT's avatar Clément OUDOT

Bug in Webform: tests always returned PE_FORMEMPTY

parent 198bcf70
......@@ -28,23 +28,18 @@ sub extractFormInfo {
unless (
(
(
$self->{'user'}
and length( $self->{'user'} = $self->param('user') ) > 0
length( $self->{'user'} = $self->param('user') ) > 0
)
&& (
(
length( $self->{'password'} = $self->param('password') ) > 0
)
|| (
$self->{'newpassword'}
and length(
$self->{'newpassword'} = $self->param('newpassword')
) > 0
length($self->{'newpassword'} = $self->param('newpassword') ) > 0
)
)
)
|| ( $self->{'mail'}
and length( $self->{'mail'} = $self->param('mail') ) > 0 )
|| ( length( $self->{'mail'} = $self->param('mail') ) > 0 )
);
$self->{'oldpassword'} = $self->param('oldpassword');
$self->{'confirmpassword'} = $self->param('confirmpassword');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment