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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
78dfe401
Commit
78dfe401
authored
Feb 26, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If there is only one project allowing new bugs, don't bother prompting
for which project to use.
parent
7721a8c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
enter_bug.cgi
enter_bug.cgi
+12
-3
No files found.
enter_bug.cgi
View file @
78dfe401
...
...
@@ -44,15 +44,24 @@ use vars @::legal_platform,
if
(
!
defined
$::FORM
{
'product'
})
{
GetVersionTable
();
my
@prodlist
=
keys
%::
versions
;
if
(
$#prodlist
!=
0
)
{
my
@prodlist
;
foreach
my
$p
(
sort
(
keys
%::
versions
))
{
if
(
defined
$::proddesc
{
$p
}
&&
$::proddesc
{
$p
}
eq
'0'
)
{
# Special hack. If we stuffed a "0" into proddesc, that means
# that disallownew was set for this bug, and so we don't want
# to allow people to specify that product here.
next
;
}
push
(
@prodlist
,
$p
);
}
if
(
1
!=
@prodlist
)
{
print
"Content-type: text/html\n\n"
;
PutHeader
(
"Enter Bug"
);
print
"<H2>First, you must pick a product on which to enter\n"
;
print
"a bug.</H2>\n"
;
print
"<table>"
;
foreach
my
$p
(
sort
(
@prodlist
)
)
{
foreach
my
$p
(
@prodlist
)
{
if
(
defined
$::proddesc
{
$p
}
&&
$::proddesc
{
$p
}
eq
'0'
)
{
# Special hack. If we stuffed a "0" into proddesc, that means
# that disallownew was set for this bug, and so we don't want
...
...
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