summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpost_bug.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index a2516c321..5ee8971c4 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -227,6 +227,7 @@ my %ccids;
# use a hash rather than a list to avoid adding users twice
if (defined $cgi->param('cc')) {
foreach my $person ($cgi->param('cc')) {
+ next unless $person;
my $ccid = DBNameToIdAndCheck($person);
if ($ccid && !$ccids{$ccid}) {
$ccids{$ccid} = 1;