summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-10-17 11:07:55 +0200
committerjustdave%syndicomm.com <>2003-10-17 11:07:55 +0200
commitcb122437f6e0700aec4f1fd85382949adbdf0576 (patch)
tree38d5f99991af5a1debb10b73847447ac08910696 /process_bug.cgi
parent7f892832fb89f60f3228d22e393fa6c823be12b6 (diff)
downloadbugzilla-cb122437f6e0700aec4f1fd85382949adbdf0576.tar.gz
bugzilla-cb122437f6e0700aec4f1fd85382949adbdf0576.tar.xz
Correcting the previous backout attempt, apparrently typoed a version number last time
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 5608c0528..e504fd7ea 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -842,15 +842,15 @@ if (defined $::FORM{newcc} || defined $::FORM{removecc} || defined $::FORM{massc
}
if ($cc_add) {
- $cc_add =~ s/^[\s,]+//; # Remove leading delimiters.
- foreach my $person ( split(/[\s,]+/, $cc_add) ) {
+ $cc_add =~ s/[\s,]+/ /g; # Change all delimiters to a single space
+ foreach my $person ( split(" ", $cc_add) ) {
my $pid = DBNameToIdAndCheck($person);
$cc_add{$pid} = $person;
}
}
if ($cc_remove) {
- $cc_remove =~ s/^[\s,]+//; # Remove leading delimiters.
- foreach my $person ( split(/[\s,]+/, $cc_remove) ) {
+ $cc_remove =~ s/[\s,]+/ /g; # Change all delimiters to a single space
+ foreach my $person ( split(" ", $cc_remove) ) {
my $pid = DBNameToIdAndCheck($person);
$cc_remove{$pid} = $person;
}
@@ -858,7 +858,7 @@ if (defined $::FORM{newcc} || defined $::FORM{removecc} || defined $::FORM{massc
}
-CheckFormFieldDefined(\%::FORM, 'knob', "check that \"Leave as...\" was selected.");
+CheckFormFieldDefined(\%::FORM, 'knob');
SWITCH: for ($::FORM{'knob'}) {
/^none$/ && do {
last SWITCH;