From fd32a1a35d928726c4f9c06d1c573825672a29d6 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 3 Jan 2014 00:02:27 +0100 Subject: Bug 543432: [PostgreSQL] Crash when typing a string in combination with a numeric field r=dkl a=sgreen --- buglist.cgi | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 4969b1858..281504c66 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -279,22 +279,6 @@ sub GetGroups { return [values %legal_groups]; } -sub _close_standby_message { - my ($contenttype, $disp, $disp_prefix, $extension, $serverpush) = @_; - my $cgi = Bugzilla->cgi; - $cgi->set_dated_content_disp($disp, $disp_prefix, $extension); - - # Close the "please wait" page, then open the buglist page - if ($serverpush) { - print $cgi->multipart_end(); - print $cgi->multipart_start(-type => $contenttype); - } - else { - print $cgi->header($contenttype); - } -} - - ################################################################################ # Command Execution ################################################################################ @@ -949,8 +933,6 @@ elsif (my @component_input = $cgi->param('component')) { # 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', "error", "html", $serverpush); ThrowUserError('auth_failure', {group => 'editbugs', action => 'modify', object => 'multiple_bugs'}); @@ -1057,8 +1039,7 @@ if ($format->{'extension'} eq "csv") { $vars->{'human'} = $cgi->param('human'); } -_close_standby_message($contenttype, $disposition, $disp_prefix, - $format->{'extension'}, $serverpush); +$cgi->close_standby_message($contenttype, $disposition, $disp_prefix, $format->{'extension'}); ################################################################################ # Content Generation -- cgit v1.2.3-24-g4f1b