Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

compact computed fallbacks in case they contain a nil value

  • Loading branch information...
commit 0318ba3545edb787d0f80a95dc5a94d994585e8f 1 parent 8ff0038
Sven Fuchs svenfuchs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/i18n/locale/fallbacks.rb
2  lib/i18n/locale/fallbacks.rb
View
@@ -89,7 +89,7 @@ def compute(tags, include_defaults = true)
tags
end.flatten
result.push(*defaults) if include_defaults
- result.uniq
+ result.uniq.compact
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.