]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 315969: Cannot enter new bugs when the CC list is emtpy - Patch by Frédéric Bucli...
authorlpsolit%gmail.com <>
Fri, 11 Nov 2005 10:02:33 +0000 (10:02 +0000)
committerlpsolit%gmail.com <>
Fri, 11 Nov 2005 10:02:33 +0000 (10:02 +0000)
post_bug.cgi

index a2516c321125250142d5494b5758c63943eb8be9..5ee8971c43249f7f66b0f362a3abc96272409854 100755 (executable)
@@ -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;