This commit is contained in:
Frederik Ramm 2008-11-09 12:06:05 +00:00
parent b64fc35140
commit 5ff5bf60e5

View 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