summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-31 19:45:57 +0100
committerjocuri%softhome.net <>2004-12-31 19:45:57 +0100
commitd19448c365e3b7fd451586c600ae4397d32aa02a (patch)
tree7d4857a825392a500770924ba3a366c440e4d40f /Bugzilla
parent6398ec1f774eb7208fd5563366ca22afd53c6acb (diff)
downloadbugzilla-d19448c365e3b7fd451586c600ae4397d32aa02a.tar.gz
bugzilla-d19448c365e3b7fd451586c600ae4397d32aa02a.tar.xz
Patch for bug 276283: Users should be able to cancel their own flag requests; patch by me, r=LpSolit (Frederic), a=justdave.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Flag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index 6661cac5e..1ee6ba71c 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -220,7 +220,7 @@ sub validate {
next if ($status eq $flag->{status});
# - User can clear flags set by itself
- next if (($status eq "X") && ($user->id eq $flag->{setter}));
+ next if (($status eq "X") && ($user->id eq $flag->{setter}->id));
# - User in the $grant_gid group can set/clear flags,
# including "+" and "-"