Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
91906eca
Commit
91906eca
authored
Sep 23, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 170075 - Mid-air collision pages should be titled as such. Patch by gerv; r=bbaetz.
parent
65d3dc0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
process_bug.cgi
process_bug.cgi
+15
-1
No files found.
process_bug.cgi
View file @
91906eca
...
...
@@ -120,9 +120,23 @@ foreach my $field ("dependson", "blocked") {
######################################################################
print
"Content-type: text/html\n\n"
;
$vars
->
{
'title'
}
=
"Bug processed"
;
# Set the title if we can see a mid-air coming. This test may have false
# negatives, but never false positives, and should catch the majority of cases.
# It only works at all in the single bug case.
if
(
defined
(
$::FORM
{
'id'
}))
{
SendSQL
(
"SELECT delta_ts FROM bugs WHERE bug_id = $::FORM{'id'}"
);
my
$delta_ts
=
FetchOneColumn
();
if
(
defined
$::FORM
{
'delta_ts'
}
&&
$delta_ts
&&
$::FORM
{
'delta_ts'
}
ne
$delta_ts
)
{
$vars
->
{
'title'
}
=
"Mid-air collision!"
;
}
}
# Start displaying the response page.
$vars
->
{
'title'
}
=
"Bug processed"
;
$template
->
process
(
"global/header.html.tmpl"
,
$vars
)
||
ThrowTemplateError
(
$template
->
error
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment