From: myk%mozilla.org <> Date: Sat, 29 Sep 2001 02:49:53 +0000 (+0000) Subject: Fix for bug 98744: No more software error when the user clicks "remove cc" without... X-Git-Tag: bugzilla-2.14.1~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d758ec09e9fa82af194c5022d8ed46bb29f2440;p=thirdparty%2Fbugzilla.git Fix for bug 98744: No more software error when the user clicks "remove cc" without specifying users to remove. Fix by Jake . r=myk@mozilla.org, no second review needed. --- diff --git a/process_bug.cgi b/process_bug.cgi index 1d2bd8898a..4e7ffd33cd 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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}}); } }