aboutsummaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-11 10:02:33 +0000
committerlpsolit%gmail.com <>2005-11-11 10:02:33 +0000
commit5d9bba8b1ffed78ab47eacc019b88d8c6039b197 (patch)
treefcb413c8920a8ddf0a9c83aa8e851e51fec4475f /post_bug.cgi
parentd18833467afdeaea11fe0deae3495e36dca209e0 (diff)
downloadbugs-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.tar
bugs-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.tar.gz
bugs-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.tar.bz2
bugs-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.tar.xz
bugs-5d9bba8b1ffed78ab47eacc019b88d8c6039b197.zip
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-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;