Check for undefined var.

This commit is contained in:
terry%netscape.com 1999-01-25 23:26:28 +00:00
parent 67991f8849
commit 8fb4029fc4

View File

@ -256,6 +256,9 @@ if (defined $::FORM{'sql'}) {
foreach my $id ("1", "2") { foreach my $id ("1", "2") {
if (!defined ($::FORM{"email$id"})) {
next;
}
my $email = trim($::FORM{"email$id"}); my $email = trim($::FORM{"email$id"});
if ($email eq "") { if ($email eq "") {
next; next;