redmine-issue-2016.patch

Patch to fix the given issue - Karl Heinz Marbaise, 2008-10-09 23:50

Download (863 Bytes)

View differences:

journal.rb (working copy)
35 35
                            :permission => :view_issues,
36 36
                            :find_options => {:include => [{:issue => :project}, :details, :user],
37 37
                                              :conditions => "#{Journal.table_name}.journalized_type = 'Issue' AND" +
38
                                                             " (#{JournalDetail.table_name}.prop_key = 'status_id' OR #{Journal.table_name}.notes <> '')"}
38
                                                             " ((#{JournalDetail.table_name}.prop_key = 'status_id' OR #{JournalDetail.table_name}.prop_key = 'tracker_id') OR #{Journal.table_name}.notes <> '')"}
39 39
  
40 40
  def save
41 41
    # Do not save an empty journal