Bug 315969: Cannot enter new bugs when the CC list is emtpy - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
git-svn-id: svn://10.0.0.236/trunk@184443 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user