From: lpsolit%gmail.com <> Date: Fri, 11 Nov 2005 10:04:41 +0000 (+0000) Subject: Bug 315969: Cannot enter new bugs when the CC list is emtpy - Patch by Frédéric Bucli... X-Git-Tag: bugzilla-2.20.1~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef76ff5059461e7312b69cfe59010de3a9520a05;p=thirdparty%2Fbugzilla.git Bug 315969: Cannot enter new bugs when the CC list is emtpy - Patch by Frédéric Buclin r/a=myk --- 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;