Browse Source

Merged r21613 to 4.2-stable (#37155).


git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@21621 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.7
Marius Balteanu 2 years ago
parent
commit
80c337dc94
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/issue.rb

+ 1
- 1
app/models/issue.rb View File

@@ -1167,7 +1167,7 @@ class Issue < ActiveRecord::Base
if @last_notes
@last_notes
else
journals.where.not(notes: '').reorder(:id => :desc).first.try(:notes)
journals.visible.where.not(notes: '').reorder(:id => :desc).first.try(:notes)
end
end


Loading…
Cancel
Save