diff options
author | jocuri%softhome.net <> | 2004-12-31 19:45:57 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-12-31 19:45:57 +0100 |
commit | d19448c365e3b7fd451586c600ae4397d32aa02a (patch) | |
tree | 7d4857a825392a500770924ba3a366c440e4d40f | |
parent | 6398ec1f774eb7208fd5563366ca22afd53c6acb (diff) | |
download | bugzilla-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.
-rw-r--r-- | Bugzilla/Flag.pm | 2 |
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 "-" |