I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

0001-fixed-a-bug-if-there-are-no-fix-keywords-there-will-.patch

Mikhail Voronyuk, 08 May 2015 11:36

Download (1.23 KB)

View differences:

plugins/issue_id/lib/issue_changeset_patch.rb
39 39
            return if comments.blank?
40 40
            ref_keywords      = Setting.commit_ref_keywords.downcase.split(',').collect(&:strip)
41 41
            ref_keywords_any  = ref_keywords.delete('*')
42
            fix_keywords      = Setting.commit_fix_keywords.downcase.split(',').collect(&:strip)
42
            fix_keywords = Setting.commit_update_keywords_array.map {|r| r['keywords']}.flatten.compact # as in redmine 2.5.1
43 43
            kw_regexp         = (ref_keywords + fix_keywords).collect{ |kw| Regexp.escape(kw) }.join('|')
44 44
            referenced_issues = []
45 45

  
46
- 
Terms of use | Privacy policy