Commit 7e06172f authored by dave%intrec.com's avatar dave%intrec.com

Fix for bug 22041: Bug page title now includes bug summary. Patch by…

Fix for bug 22041: Bug page title now includes bug summary. Patch by st.n@gmx.net (Stephan Niemz (faniz))
parent 81843d6e
......@@ -47,11 +47,16 @@ if (!defined $::FORM{'id'} || $::FORM{'id'} !~ /^\s*\d+\s*$/) {
GetVersionTable();
PutHeader("Bugzilla bug $::FORM{'id'}", "Bugzilla Bug", $::FORM{'id'});
SendSQL("select short_desc from bugs where bug_id = $::FORM{'id'}");
my $summary = FetchOneColumn();
if( $summary ) {
PutHeader("Bug $::FORM{'id'} - $summary", "Bugzilla Bug $::FORM{'id'}", $summary );
}else {
PutHeader("Bugzilla bug $::FORM{'id'}", "Bugzilla Bug", $::FORM{'id'});
}
navigation_header();
print "<HR>\n";
$! = 0;
do "bug_form.pl" || die "Error doing bug_form.pl: $!";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment