]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
fix SCALE, make changeset GET use floats
[rails.git] / app / models / way.rb
index c9e695b32e0193855b5e2b0c0cdf5acc59cd08a8..be6531def4bdeac9b71debd94105282e4379fc93 100644 (file)
@@ -113,7 +113,7 @@ class Way < ActiveRecord::Base
         end
       else
         # otherwise, manually go to the db to check things
-        if nd.node.visible? and nd.node.visible?
+        if nd.node and nd.node.visible?
           ordered_nodes[nd.sequence_id] = nd.node_id.to_s
         end
       end