aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl Tidy <perltidy@bugzilla.org>2019-01-31 20:50:06 -0500
committerDylan William Hardison <dylan@hardison.net>2019-01-31 21:02:46 -0500
commitf91e240aac65936bc9dee0f926cd6f1021f48fe0 (patch)
tree596aa9893d4526e646b9a64fd6c65706c8dd3340 /attachment.cgi
parentadd perl-fmt script (diff)
downloadbugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.gz
bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.bz2
bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.zip
no bug - perltidy again, using the latest release
blame jeff
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index d8244b080..d404c85df 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -205,7 +205,7 @@ sub get_attachment {
}
$attachments{$field_name} = $attachment;
}
- my @args = map { $_ . '=' . $attachments{$_}->id } @field_names;
+ my @args = map { $_ . '=' . $attachments{$_}->id } @field_names;
my $cgi_params = $cgi->canonicalise_query(@field_names, 't', 'Bugzilla_login',
'Bugzilla_password');
push(@args, $cgi_params) if $cgi_params;
@@ -810,7 +810,7 @@ sub delete_attachment {
# The token is valid. Delete the content of the attachment.
my $msg;
$vars->{'attachment'} = $attachment;
- $vars->{'reason'} = clean_text($cgi->param('reason') || '');
+ $vars->{'reason'} = clean_text($cgi->param('reason') || '');
$template->process("attachment/delete_reason.txt.tmpl", $vars, \$msg)
|| ThrowTemplateError($template->error());