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

Bug in Webform: tests always returned PE_FORMEMPTY

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/trunk@674 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 0c17f806
......@@ -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