mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +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") {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user