summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;