diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-01-03 00:02:27 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-01-03 00:02:27 +0100 |
commit | fd32a1a35d928726c4f9c06d1c573825672a29d6 (patch) | |
tree | 32f86900f63849301f95011de53053b535e58d3d /Bugzilla/Error.pm | |
parent | fc5aae4091324a630fee712984b1a643e45e3197 (diff) | |
download | bugzilla-fd32a1a35d928726c4f9c06d1c573825672a29d6.tar.gz bugzilla-fd32a1a35d928726c4f9c06d1c573825672a29d6.tar.xz |
Bug 543432: [PostgreSQL] Crash when typing a string in combination with a numeric field
r=dkl a=sgreen
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r-- | Bugzilla/Error.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index ee84183b1..03bf04f83 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -94,8 +94,10 @@ sub _throw_error { message => \$message }); if (Bugzilla->error_mode == ERROR_MODE_WEBPAGE) { - print Bugzilla->cgi->header(); + my $cgi = Bugzilla->cgi; + $cgi->close_standby_message('text/html', 'inline', 'error', 'html'); print $message; + print $cgi->multipart_final() if $cgi->{_multipart_in_progress}; } elsif (Bugzilla->error_mode == ERROR_MODE_TEST) { die Dumper($vars); |