This is the mail archive of the
gnats-devel@sources.redhat.com
mailing list for the GNATS project.
patch for gnatsweb.pl
- To: "'gnats-devel at sources dot redhat dot com'" <gnats-devel at sources dot redhat dot com>
- Subject: patch for gnatsweb.pl
- From: "David, Lysander" <LDavid at verisign dot com>
- Date: Thu, 6 Sep 2001 14:09:04 -0700
Hi,
When there is an gnats error, while submitting a pr,
the error message doesn't get returned. Here is a patch to fix it.
I am using gnatsweb 2.8.2.
diff gnatsweb.pl gnatsweb.pl.new
1185c1185,1191
< print_gnatsd_error($gnats::ERRSTR);
---
> my $page = "Error";
> print_header();
> page_start_html ( $page );
> page_heading ( $page, "GNATS Error" );
> print_gnatsd_error($gnats::ERRSTR);
> page_footer ( $page );
> page_end_html ( $page );
Thanks,
Lysander