summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/lib
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/lib')
-rw-r--r--extensions/BugModal/lib/ActivityStream.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/lib/ActivityStream.pm b/extensions/BugModal/lib/ActivityStream.pm
index f950bea1c..0bd88e623 100644
--- a/extensions/BugModal/lib/ActivityStream.pm
+++ b/extensions/BugModal/lib/ActivityStream.pm
@@ -103,7 +103,7 @@ sub find_activity_id_for_flag {
# we don't have an object_id to match on
if (!exists $self->{activity_cache}->{flag}->{$flag->id}) {
- foreach my $change_set (@$stream) {
+ foreach my $change_set (reverse @$stream) {
foreach my $activity (@{ $change_set->{activity} }) {
# match by user, timestamp, and flag-type name
next unless