Patch for bug 276283: Users should be able to cancel their own flag requests; patch by me, r=LpSolit (Frederic), a=justdave.

This commit is contained in:
jocuri%softhome.net 2004-12-31 10:45:57 +00:00
parent d40cfbe2bb
commit d598fc9d21

View File

@ -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 "-"