I know I should create a branch, pull request etc, but here's a patch I had to apply to get it to work with Redmine 1.1.3:
diff --git a/app/helpers/diff_mailer_helper.rb b/app/helpers/diff_mailer_helper.rb
index 20db31c..700602f 100644
--- a/app/helpers/diff_mailer_helper.rb
+++ b/app/helpers/diff_mailer_helper.rb
@@ -30,7 +30,8 @@ module DiffMailerHelper
</thead>
<tbody>]
prev_line_left, prev_line_right = nil, nil
- table_file.each_line do |key, line|
+ table_file.keys.sort.each do |key, line|
+ line = table_file[key]
if prev_line_left && prev_line_right && (line.nb_line_left != prev_line_left + 1) && (line.nb_
result += %Q[
<tr>
I know I should create a branch, pull request etc, but here's a patch I had to apply to get it to work with Redmine 1.1.3: