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
20c30bdc
Commit
20c30bdc
authored
Apr 16, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 117718 - Mass Change removes a bugs groupset if the bug was in the
wrong product group r=justdave x2
parent
c594d00a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
process_bug.cgi
process_bug.cgi
+12
-4
No files found.
process_bug.cgi
View file @
20c30bdc
...
...
@@ -445,10 +445,18 @@ if($::usergroupset ne '0') {
SendSQL
(
"SELECT bit, isactive FROM groups WHERE "
.
"isbuggroup != 0 AND bit & $::usergroupset != 0 ORDER BY bit"
);
while
(
my
(
$b
,
$isactive
)
=
FetchSQLData
())
{
if
(
!
$::FORM
{
"bit-$b"
})
{
$groupDel
.=
"+$b"
;
}
elsif
(
$::FORM
{
"bit-$b"
}
==
1
&&
$isactive
)
{
$groupAdd
.=
"+$b"
;
# The multiple change page may not show all groups a bug is in
# (eg product groups when listing more than one product)
# Only consider groups which were present on the form. We can't do this
# for single bug changes because non-checked checkboxes aren't present.
# All the checkboxes should be shown in that case, though, so its not
# an issue there
if
(
$::FORM
{
'id'
}
||
exists
$::FORM
{
"bit-$b"
})
{
if
(
!
$::FORM
{
"bit-$b"
})
{
$groupDel
.=
"+$b"
;
}
elsif
(
$::FORM
{
"bit-$b"
}
==
1
&&
$isactive
)
{
$groupAdd
.=
"+$b"
;
}
}
}
if
(
$groupAdd
ne
"0"
||
$groupDel
ne
"0"
)
{
...
...
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