From a8cb917837ce718b187f39ae4baccd855cac175e Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Tue, 26 Jan 1999 07:26:28 +0000 Subject: Check for undefined var. --- buglist.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index bc4fbc5cb..a224d40e8 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -256,6 +256,9 @@ if (defined $::FORM{'sql'}) { foreach my $id ("1", "2") { + if (!defined ($::FORM{"email$id"})) { + next; + } my $email = trim($::FORM{"email$id"}); if ($email eq "") { next; -- cgit v1.2.3-24-g4f1b