X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..3238bf567c5c8a0e807343588b8f38f86d65c1cd:/app/models/old_node.rb diff --git a/app/models/old_node.rb b/app/models/old_node.rb index 84899d7fb..b103e5c73 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -55,7 +55,7 @@ class OldNode < ActiveRecord::Base add_metadata_to_xml_node(el, self, changeset_cache, user_display_name_cache) - if self.visible? + if visible? el["lat"] = lat.to_s el["lon"] = lon.to_s end