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
e7e9e5c5
Commit
e7e9e5c5
authored
Aug 20, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 163457 - bugs not registered as "new". Patch by gerv; r=timeless, bbaetz.
parent
a1ba12e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
post_bug.cgi
post_bug.cgi
+5
-12
No files found.
post_bug.cgi
View file @
e7e9e5c5
...
...
@@ -148,18 +148,11 @@ if (Param("useqacontact")) {
}
}
if
(
exists
$::FORM
{
'bug_status'
})
{
# Ignore the given status, so that we can set it to UNCONFIRMED
# or NEW, depending on votestoconfirm if either the given state was
# unconfirmed (so that a user can't override the below check), or if
# the user doesn't have permission to change the default status anyway
if
(
$::FORM
{
'bug_status'
}
eq
$::unconfirmedstate
||
(
!
UserInGroup
(
"canedit"
)
&&
!
UserInGroup
(
"canconfirm"
)))
{
delete
$::FORM
{
'bug_status'
};
}
}
if
(
!
exists
$::FORM
{
'bug_status'
})
{
if
(
UserInGroup
(
"canedit"
)
||
UserInGroup
(
"canconfirm"
))
{
# Default to NEW if the user hasn't selected another status
$::FORM
{
'bug_status'
}
||=
"NEW"
;
}
else
{
# Default to UNCONFIRMED if we are using it, NEW otherwise
$::FORM
{
'bug_status'
}
=
$::unconfirmedstate
;
SendSQL
(
"SELECT votestoconfirm FROM products WHERE id = $product_id"
);
if
(
!
FetchOneColumn
())
{
...
...
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