summaryrefslogtreecommitdiffstats
path: root/lib/redmine/string_array_diff/diff.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/string_array_diff/diff.rb')
-rw-r--r--lib/redmine/string_array_diff/diff.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/string_array_diff/diff.rb b/lib/redmine/string_array_diff/diff.rb
index 4b54fb740..4540f1e72 100644
--- a/lib/redmine/string_array_diff/diff.rb
+++ b/lib/redmine/string_array_diff/diff.rb
@@ -81,7 +81,7 @@ module Redmine
}
}
- if !thresh.empty?
+ unless thresh.empty?
link = links[thresh.length-1]
while link
mvector[link[1]] = link[2]