From ef76ff5059461e7312b69cfe59010de3a9520a05 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 11 Nov 2005 10:04:41 +0000 Subject: [PATCH] =?utf8?q?Bug=20315969:=20Cannot=20enter=20new=20bugs=20wh?= =?utf8?q?en=20the=20CC=20list=20is=20emtpy=20-=20Patch=20by=20Fr=C3=A9d?= =?utf8?q?=C3=A9ric=20Buclin=20=20r/a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- post_bug.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/post_bug.cgi b/post_bug.cgi index 656ae187f1..bd0f73e16f 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -230,6 +230,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; -- 2.47.2