This commit is contained in:
Xavier Guimard 2010-10-14 07:59:15 +00:00
parent cb267983dc
commit 01bf8253f0

View File

@ -131,7 +131,7 @@ sub sregHook {
elsif ( $self->param('confirm') == 1 ) {
my $ck = 0;
if ( defined( $self->param("sreg_$k") ) ) {
$ck = ( $self->param("sreg_$k") == 'OK' ) || 0;
$ck = ( $self->param("sreg_$k") eq 'OK' ) || 0;
}
# Store the value returned