X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/89e976c6e57c9aa8afae00437aaf4399ea5fc58f..c72f6a41827f49e2cffbb2b59a10ed1680a5dc6b:/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