summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index a8b68ccbb..6141780a5 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1159,7 +1159,7 @@ class Issue < ActiveRecord::Base
# Preloads users who updated last a collection of issues
def self.load_visible_last_updated_by(issues, user=User.current)
- if issues.any?
+ if issues.any?
issue_ids = issues.map(&:id)
journal_ids = Journal.joins(issue: :project).
where(:journalized_type => 'Issue', :journalized_id => issue_ids).