aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-03 00:04:03 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-03 00:04:03 +0100
commit91eb582faf4ef030f91750dc7909de5e104d7f0d (patch)
tree6e47974b07ff22cad57c9e05608690eede317840 /buglist.cgi
parentBug 895813: Mandatory custom fields whose visibility depends on a component a... (diff)
downloadbugzilla-91eb582faf4ef030f91750dc7909de5e104d7f0d.tar.gz
bugzilla-91eb582faf4ef030f91750dc7909de5e104d7f0d.tar.bz2
bugzilla-91eb582faf4ef030f91750dc7909de5e104d7f0d.zip
Bug 543432: [PostgreSQL] Crash when typing a string in combination with a numeric field
r=dkl a=sgreen
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi20
1 files changed, 1 insertions, 19 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 4e3d2bd7a..81350dc81 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -284,23 +284,6 @@ sub GetGroups {
return [values %legal_groups];
}
-sub _close_standby_message {
- my ($contenttype, $disposition, $serverpush) = @_;
- my $cgi = Bugzilla->cgi;
-
- # Close the "please wait" page, then open the buglist page
- if ($serverpush) {
- print $cgi->multipart_end();
- print $cgi->multipart_start(-type => $contenttype,
- -content_disposition => $disposition);
- }
- else {
- print $cgi->header(-type => $contenttype,
- -content_disposition => $disposition);
- }
-}
-
-
################################################################################
# Command Execution
################################################################################
@@ -945,7 +928,6 @@ if ($one_product && $user->can_enter_product($one_product)) {
# The following variables are used when the user is making changes to multiple bugs.
if ($dotweak && scalar @bugs) {
if (!$vars->{'caneditbugs'}) {
- _close_standby_message('text/html', 'inline', $serverpush);
ThrowUserError('auth_failure', {group => 'editbugs',
action => 'modify',
object => 'multiple_bugs'});
@@ -1055,7 +1037,7 @@ if ($format->{'extension'} eq "csv") {
# Suggest a name for the bug list if the user wants to save it as a file.
$disposition .= "; filename=\"$filename\"";
-_close_standby_message($contenttype, $disposition, $serverpush);
+$cgi->close_standby_message($contenttype, $disposition);
################################################################################
# Content Generation