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
2c01ae87
Commit
2c01ae87
authored
Apr 23, 2011
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 650624: Changing the requestee of a flag should not change the requester
a=LpSolit
parent
973bdab8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
Flag.pm
Bugzilla/Flag.pm
+3
-5
No files found.
Bugzilla/Flag.pm
View file @
2c01ae87
...
...
@@ -602,8 +602,6 @@ sub force_retarget {
sub
_set_requestee
{
my
(
$self
,
$requestee
,
$attachment
,
$skip_requestee_on_error
)
=
@_
;
# Used internally to check if the requestee is retargetting the request.
$self
->
{
_old_requestee_id
}
=
$self
->
requestee
?
$self
->
requestee
->
id
:
0
;
$self
->
{
requestee
}
=
$self
->
_check_requestee
(
$requestee
,
$attachment
,
$skip_requestee_on_error
);
...
...
@@ -725,9 +723,9 @@ sub _check_setter {
old_status
=>
$self
->
{
_old_status
}
});
}
# If the request
er is retargetting the request, we don't
#
update
the setter, so that the setter gets the notification.
if
(
$status
eq
'?'
&&
$self
->
{
_old_
requestee_id
}
==
$setter
->
id
)
{
# If the request
is being retargetted, we don't update
# the setter, so that the setter gets the notification.
if
(
$status
eq
'?'
&&
$self
->
{
_old_
status
}
eq
'?'
)
{
return
$self
->
setter
;
}
return
$setter
;
...
...
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