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 /colchange.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 'colchange.cgi')
-rwxr-xr-x | colchange.cgi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/colchange.cgi b/colchange.cgi index 2d0a7ba1e..d77782bec 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -91,7 +91,7 @@ if (defined $cgi->param('rememberedquery')) { @collist = DEFAULT_COLUMN_LIST; } else { if (defined $cgi->param("selected_columns")) { - @collist = grep { exists $columns->{$_} } + @collist = grep { exists $columns->{$_} } $cgi->param("selected_columns"); } if (defined $cgi->param('splitheader')) { @@ -124,7 +124,7 @@ if (defined $cgi->param('rememberedquery')) { $vars->{'message'} = "change_columns"; if ($cgi->param('save_columns_for_search') - && defined $search && $search->user->id == Bugzilla->user->id) + && defined $search && $search->user->id == Bugzilla->user->id) { my $params = new Bugzilla::CGI($search->url); $params->param('columnlist', join(",", @collist)); @@ -140,9 +140,9 @@ if (defined $cgi->param('rememberedquery')) { # If we're running on Microsoft IIS, $cgi->redirect discards # the Set-Cookie lines. In mod_perl, $cgi->redirect with cookies # causes the page to be rendered as text/plain. - # Workaround is to use the old-fashioned redirection mechanism. + # Workaround is to use the old-fashioned redirection mechanism. # See bug 214466 and bug 376044 for details. - if ($ENV{'MOD_PERL'} + if ($ENV{'MOD_PERL'} || $ENV{'SERVER_SOFTWARE'} =~ /Microsoft-IIS/ || $ENV{'SERVER_SOFTWARE'} =~ /Sun ONE Web/) { @@ -153,7 +153,7 @@ if (defined $cgi->param('rememberedquery')) { print $cgi->redirect($vars->{'redirect_url'}); exit; } - + $template->process("global/message.html.tmpl", $vars) || ThrowTemplateError($template->error()); exit; |