X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/89e976c6e57c9aa8afae00437aaf4399ea5fc58f..1bbe59b6a77030c362f9991083aa7c06799b272d:/app/models/node.rb diff --git a/app/models/node.rb b/app/models/node.rb index 6f01ccee0..6eecc853d 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -85,7 +85,7 @@ class Node < ActiveRecord::Base el1['lon'] = self.longitude.to_s # el['user'] = self.user.display_name if self.user.data_public? - + user_display_name_cache = {} if user_display_name_cache.nil? if user_display_name_cache and user_display_name_cache[self.user_id] # use the cache if available else