Merge pull request #976 from abbat/patch-1

Update js_locale_helper.rb
This commit is contained in:
Robin Ward 2013-06-06 14:38:56 -07:00
commit 49f8e5a5d1
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ module JsLocaleHelper
hash.each do |k,v|
if Hash === v
rval.merge!(strip_out_message_formats!(v, prefix + (prefix.length > 0 ? "." : "") << k, rval))
elsif k.end_with?("_MF")
elsif k.to_s().end_with?("_MF")
rval[prefix + (prefix.length > 0 ? "." : "") << k] = v
hash.delete(k)
end