]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 98744: No more software error when the user clicks "remove cc" without...
authormyk%mozilla.org <>
Sat, 29 Sep 2001 02:49:53 +0000 (02:49 +0000)
committermyk%mozilla.org <>
Sat, 29 Sep 2001 02:49:53 +0000 (02:49 +0000)
Fix by Jake <jake@acutex.net>.
r=myk@mozilla.org, no second review needed.

process_bug.cgi

index 1d2bd8898ad18c0fe85153b80fe66ba5dec9bd3b..4e7ffd33cd6afd5c2c5dc1069381fb0bb1ca4a57 100755 (executable)
@@ -689,7 +689,7 @@ if (defined $::FORM{newcc} || defined $::FORM{removecc} || defined $::FORM{massc
         $cc_add = $::FORM{newcc};
         # We came from bug_form which uses a select box to determine what cc's
         # need to be removed...
-        if (defined $::FORM{removecc}) {
+        if (defined $::FORM{removecc} && $::FORM{cc}) {
             $cc_remove = join (",", @{$::MFORM{cc}});
         }
     }