X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ccf25b347d90b2ae7b1f2e2b5c8f042e0790a3b..afe8ffffe945eb3201a9c6e3b10157c55d167488:/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