summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "-"