X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ccf25b347d90b2ae7b1f2e2b5c8f042e0790a3b..1bbe59b6a77030c362f9991083aa7c06799b272d:/app/models/way.rb diff --git a/app/models/way.rb b/app/models/way.rb index 65bb3158d..090c7a739 100644 --- a/app/models/way.rb +++ b/app/models/way.rb @@ -84,7 +84,7 @@ class Way < ActiveRecord::Base end ordered_segments.each do |seg_id| - if seg_id + if seg_id and seg_id != '0' e = XML::Node.new 'seg' e['id'] = seg_id el1 << e