Project

General

Profile

Defect #8225 ยป redmine_1.1-stable_r5503_fix_issue_8225.diff

Ari Johnson, 2011-04-26 01:20

View differences:

app/models/changeset.rb (working copy)
125 125
      
126 126
      refs.scan(/#(\d+)(\s+@#{TIMELOG_RE})?/).each do |m|
127 127
        issue, hours = find_referenced_issue_by_id(m[0].to_i), m[2]
128
        if issue
128
        if issue and issue.project == project
129 129
          referenced_issues << issue
130 130
          fix_issue(issue) if fix_keywords.include?(action.to_s.downcase)
131 131
          log_time(issue, hours) if hours && Setting.commit_logtime_enabled?
    (1-1/1)