mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Check for undefined var.
This commit is contained in:
parent
67991f8849
commit
8fb4029fc4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user