Defect #8225 ยป redmine_1.1-stable_r5503_fix_issue_8225.diff
| app/models/changeset.rb (working copy) | ||
|---|---|---|
|
|
||
|
refs.scan(/#(\d+)(\s+@#{TIMELOG_RE})?/).each do |m|
|
||
|
issue, hours = find_referenced_issue_by_id(m[0].to_i), m[2]
|
||
|
if issue
|
||
|
if issue and issue.project == project
|
||
|
referenced_issues << issue
|
||
|
fix_issue(issue) if fix_keywords.include?(action.to_s.downcase)
|
||
|
log_time(issue, hours) if hours && Setting.commit_logtime_enabled?
|
||