app/models/service_response.rb in umlaut-4.0.2 vs app/models/service_response.rb in umlaut-4.0.3
- old
+ new
@@ -277,10 +277,10 @@
# this service.
def translate_simple_i18n!(hash)
if key = hash[:display_text_i18n]
hash[:display_text] = self.service.translate(key, :default => hash[:display_text])
end
- if key = self[:notes_i18n]
+ if key = hash[:notes_i18n]
hash[:notes] = self.service.translate(key, :default => hash[:notes])
end
end
end