summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-01-26 08:26:28 +0100
committerterry%netscape.com <>1999-01-26 08:26:28 +0100
commita8cb917837ce718b187f39ae4baccd855cac175e (patch)
tree9aeea4ef5c0fc1dba87e6255f21dd8586739375b /buglist.cgi
parent7613f7b0a655bf363ea80e511fe4f8364366a94f (diff)
downloadbugzilla-a8cb917837ce718b187f39ae4baccd855cac175e.tar.gz
bugzilla-a8cb917837ce718b187f39ae4baccd855cac175e.tar.xz
Check for undefined var.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi3
1 files changed, 3 insertions, 0 deletions
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;