diff options
author | lpsolit%gmail.com <> | 2005-11-11 11:02:33 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-11 11:02:33 +0100 |
commit | 5d9bba8b1ffed78ab47eacc019b88d8c6039b197 (patch) | |
tree | fcb413c8920a8ddf0a9c83aa8e851e51fec4475f /post_bug.cgi | |
parent | d18833467afdeaea11fe0deae3495e36dca209e0 (diff) | |
download | bugzilla-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.tar.gz bugzilla-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.tar.xz |
Bug 315969: Cannot enter new bugs when the CC list is emtpy - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 1 |
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; |