diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-05 20:43:18 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | 37722eca39874bb6abdcd120e3e458bd62dea62b (patch) | |
tree | 57a9a9970c00ec77baecab7e154ef7dfcef863fe /process_bug.cgi | |
parent | a6f98de0d4e842351222b0173a1fff151da8738e (diff) | |
download | bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz |
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 49ac28fc0..df7dc57d9 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -50,7 +50,7 @@ sub should_set { # a checkbox. my ($field, $check_defined) = @_; my $cgi = Bugzilla->cgi; - if ( defined $cgi->param($field) + if ( defined $cgi->param($field) || ($check_defined && defined $cgi->param("defined_$field")) ) { return 1; @@ -269,7 +269,7 @@ if (should_set('comment')) { }; } if (should_set('see_also')) { - $set_all_fields{'see_also'}->{add} = + $set_all_fields{'see_also'}->{add} = [split(/[\s,]+/, $cgi->param('see_also'))]; } if (should_set('remove_see_also')) { @@ -290,7 +290,7 @@ foreach my $dep_field (qw(dependson blocked)) { if (defined $cgi->param('newcc') or defined $cgi->param('addselfcc') or defined $cgi->param('removecc') - or defined $cgi->param('masscc')) + or defined $cgi->param('masscc')) { my (@cc_add, @cc_remove); # If masscc is defined, then we came from buglist and need to either add or |