From e0318906110e5c22a7ff822fb9df082672c89832 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 21 Feb 2007 06:16:13 +0000 Subject: [PATCH] =?utf8?q?Bug=20370926:=20Incorrect=20mail=20sent=20when?= =?utf8?q?=20unsetting=20requestee=20on=20review=20request=20-=20Patch=20b?= =?utf8?q?y=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dmyk=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Flag.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index a831fc9503..1e47993148 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -748,6 +748,7 @@ sub modify { # Now update the flag object with its new values. $flag->{'setter'} = $setter; $flag->{'requestee'} = undef; + $flag->{'requestee_id'} = undef; $flag->{'status'} = $status; # Send an email notifying the relevant parties about the fulfillment, @@ -764,11 +765,13 @@ sub modify { if ($requestee_email) { $requestee_id = login_to_id($requestee_email); $flag->{'requestee'} = new Bugzilla::User($requestee_id); + $flag->{'requestee_id'} = $requestee_id; } else { # If the status didn't change but we only removed the # requestee, we have to clear the requestee field. $flag->{'requestee'} = undef; + $flag->{'requestee_id'} = undef; } # Update the database with the changes. -- 2.47.3