Commit 6212d9fb authored by Markus Frosch's avatar Markus Frosch
Browse files

push_redmine_redirect_comments: Handle issues without notes correctly

parent 871d60df
......@@ -85,7 +85,7 @@ issues.each do |i|
found = false
if issue.issue.respond_to?(:journals)
issue.issue.journals.each do |c|
next unless c.notes
next unless c.respond_to?(:notes)
if c.notes =~ /#{message_pattern}/
found =
# TODO: check correct URL?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment