replaced return; with return undef;

This commit is contained in:
JT Smith 2008-01-24 21:58:15 +00:00
parent ffa90c5fbd
commit fa09c41598
113 changed files with 287 additions and 286 deletions

View file

@ -74,7 +74,7 @@ sub AUTOLOAD {
my $control = eval { WebGUI::Pluggable::instanciate("WebGUI::Form::".$name, "new", [ $self->session, $params ]) };
if ($@) {
$self->session->errorHandler->error($@);
return;
return undef;
}
return $control->getValueFromPost(@args);
}
@ -176,7 +176,7 @@ sub process {
return $default;
}
if ($value =~ /^[\s]+$/) {
return;
return undef;
}
return $value;
}