Commit c51e34ce authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 524814: Flag requests are resent all the time, even when flags are not…

Bug 524814: Flag requests are resent all the time, even when flags are not updated - Patch by Fré©ric Buclin <LpSolit@gmail.com> a=LpSolit
parent 44b2ff67
......@@ -507,8 +507,10 @@ sub update_flags {
$class->notify($new_flag, undef, $self);
}
else {
$new_flag->update($timestamp);
$class->notify($new_flag, $old_flags{$new_flag->id}, $self);
my $changes = $new_flag->update($timestamp);
if (scalar(keys %$changes)) {
$class->notify($new_flag, $old_flags{$new_flag->id}, $self);
}
delete $old_flags{$new_flag->id};
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment