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

@ -132,7 +132,7 @@ sub getValueFromPost {
return $value
}
else {
return;
return undef;
}
}
@ -147,7 +147,7 @@ sub getValueFromPost {
} else {
# Mysql format
my $value = $self->session->form->param($self->get("name"));
return unless $value =~ /^\d{2}\D\d{2}(\D\d{2})?$/;
return undef unless $value =~ /^\d{2}\D\d{2}(\D\d{2})?$/;
return $value;
}
}