From 5d9bba8b1ffed78ab47eacc019b88d8c6039b197 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 11 Nov 2005 10:02:33 +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 a2516c3211..5ee8971c43 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; -- 2.47.3